opt: 取消强制手机号验证,更新配置

This commit is contained in:
RockYang
2023-07-24 18:18:09 +08:00
parent 2efc669ab2
commit 84f9a83f55
9 changed files with 54 additions and 25 deletions

View File

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

View File

@@ -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 {