宇恒一号官网

This commit is contained in:
whm
2026-03-17 00:59:32 +08:00
commit eb56519df7
105 changed files with 10783 additions and 0 deletions

11
server/models/sms.go Normal file
View File

@@ -0,0 +1,11 @@
package models
// SMSConfig 短信平台配置(仅超级用户 role_id=0, role=admin 可配置)
type SMSConfig struct {
Provider string `bson:"provider" json:"provider"` // 服务商aliyun/tencent/...
AccessKey string `bson:"access_key" json:"access_key"` // AccessKey
SecretKey string `bson:"secret_key" json:"secret_key"` // SecretKey
SignName string `bson:"sign_name" json:"sign_name"` // 签名
TemplateID string `bson:"template_id" json:"template_id"` // 模板ID
Enabled bool `bson:"enabled" json:"enabled"` // 是否已启用
}