scan the QR code to log in on the WeChat public account

This commit is contained in:
landaiqing
2024-08-15 23:56:46 +08:00
parent 55759a33db
commit e8fbff7e7f
28 changed files with 1095 additions and 432 deletions

8
config/conf_wechat.go Normal file
View File

@@ -0,0 +1,8 @@
package config
type Wechat struct {
AppID string `json:"app-id"`
AppSecret string `json:"app-secret"`
Token string `json:"token"`
AESKey string `json:"aes-key"`
}

View File

@@ -8,4 +8,5 @@ type Config struct {
SMS SMS `yaml:"sms"`
JWT JWT `yaml:"jwt"`
Encrypt Encrypt `yaml:"encrypt"`
Wechat Wechat `yaml:"wechat"`
}