🎨 优化短息服务

This commit is contained in:
loser 2025-04-09 19:14:37 +08:00
parent b207fbefc0
commit ec2b513bd1

9
config/sms.go Normal file
View File

@ -0,0 +1,9 @@
package config
type SMS struct {
AccessKeyID string `yaml:"access-key-id"` // 阿里云AccessKeyID
AccessKeySecret string `yaml:"access-key-secret"` // 阿里云AccessKeySecret
SignName string `yaml:"sign-name"` // 短信签名名称
TemplateCode string `yaml:"template-code"` // 短信模板ID
ExpireTime int `yaml:"expire-time"` // 过期时间,单位秒
}