宇恒一号官网
This commit is contained in:
11
server/models/sms.go
Normal file
11
server/models/sms.go
Normal 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"` // 是否已启用
|
||||
}
|
||||
Reference in New Issue
Block a user