mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 02:33:42 +08:00
opt: 取消强制手机号验证,更新配置
This commit is contained in:
@@ -33,7 +33,7 @@ func NewDefaultConfig() *types.AppConfig {
|
||||
HttpOnly: false,
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
},
|
||||
AlApiToken: "",
|
||||
FunApiToken: "",
|
||||
StartWechatBot: false,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,10 +16,11 @@ type AppConfig struct {
|
||||
StaticUrl string // 静态资源 URL
|
||||
Redis RedisConfig // redis 连接信息
|
||||
|
||||
AesEncryptKey string
|
||||
SmsConfig AliYunSmsConfig // 短信发送配置
|
||||
AlApiToken string // AL API 服务 token
|
||||
StartWechatBot bool // 是否启动微信机器人
|
||||
AesEncryptKey string
|
||||
SmsConfig AliYunSmsConfig // 短信发送配置
|
||||
FunApiToken string // 函数服务 API token
|
||||
StartWechatBot bool // 是否启动微信机器人
|
||||
EnabledMsgService bool // 是否启用短信服务
|
||||
}
|
||||
|
||||
type AliYunSmsConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user