重新初始化项目

This commit is contained in:
2023-04-27 15:56:12 +08:00
parent 10546eb629
commit d6e256ef9e
50 changed files with 1255 additions and 308 deletions

View File

@@ -2,9 +2,16 @@ package config
// 阿里云配置
type aliyunConfig struct {
Sms aliSmsConfig `mapstructure:"sms" yaml:"sms"` // 短信配置
Oss aliOssConfig `mapstructure:"oss" yaml:"oss"` // oss配置
}
// SmsConfig 阿里云短信配置
type aliSmsConfig struct {
AccessKeyId string `mapstructure:"access-key" yaml:"access-key"`
AccessKeySecret string `mapstructure:"access-key-secret" yaml:"access-key-secret"`
}
// OSSConfig 阿里云OSS配置
type aliOssConfig struct {
Endpoint string `mapstructure:"endpoint" yaml:"endpoint"`