fadd
This commit is contained in:
@@ -26,6 +26,7 @@ type Config struct {
|
||||
AdminPromotion AdminPromotion
|
||||
TaxConfig TaxConfig
|
||||
ExtensionTime int64
|
||||
Captcha CaptchaConfig // 阿里云验证码配置
|
||||
}
|
||||
|
||||
// JwtAuth 用于 JWT 鉴权配置
|
||||
@@ -129,3 +130,12 @@ type TianyuanapiConfig struct {
|
||||
type AuthorizationConfig struct {
|
||||
FileBaseURL string // 授权书文件访问基础URL
|
||||
}
|
||||
|
||||
// CaptchaConfig 阿里云验证码配置
|
||||
type CaptchaConfig struct {
|
||||
AccessKeyID string // 阿里云 AccessKey ID
|
||||
AccessKeySecret string // 阿里云 AccessKey Secret
|
||||
EndpointURL string // 验证码服务端点URL
|
||||
SceneID string // 业务场景ID
|
||||
EKey string // 网页验证码业务密钥
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user