mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 10:13:44 +08:00
chore: add error log for reading chat response buffer
This commit is contained in:
@@ -33,6 +33,8 @@ func NewDefaultConfig() *types.AppConfig {
|
||||
HttpOnly: false,
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
},
|
||||
AlApiToken: "",
|
||||
StartWechatBot: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user