This commit is contained in:
Mrx
2026-02-26 17:45:58 +08:00
parent e1fbf72437
commit f4deb0063b
15 changed files with 296 additions and 17 deletions

View File

@@ -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 // 网页验证码业务密钥
}