chore: add error log for reading chat response buffer

This commit is contained in:
RockYang
2023-07-24 12:05:38 +08:00
parent dd71fe80a5
commit 5444ed77ad
8 changed files with 38 additions and 28 deletions

View File

@@ -33,6 +33,8 @@ func NewDefaultConfig() *types.AppConfig {
HttpOnly: false,
SameSite: http.SameSiteLaxMode,
},
AlApiToken: "",
StartWechatBot: false,
}
}

View File

@@ -16,8 +16,10 @@ type AppConfig struct {
StaticUrl string // 静态资源 URL
Redis RedisConfig // redis 连接信息
AesEncryptKey string
SmsConfig AliYunSmsConfig // 短信发送配置
AesEncryptKey string
SmsConfig AliYunSmsConfig // 短信发送配置
AlApiToken string // AL API 服务 token
StartWechatBot bool // 是否启动微信机器人
}
type AliYunSmsConfig struct {