新增发送短信

This commit is contained in:
2023-07-24 08:40:23 +08:00
parent 305ea5d79f
commit f99c218b1b
8 changed files with 287 additions and 1 deletions
+1
View File
@@ -13,4 +13,5 @@ type Config struct {
Snowflake int64 `mapstructure:"snowflake" json:"snowflake" yaml:"snowflake"`
CaOnline CaOnline `mapstructure:"ca-online" json:"ca-online" yaml:"ca-online"`
Im Im `mapstructure:"im" json:"im" yaml:"im"`
Dysms Dysms `mapstructure:"dysms" json:"dysms" yaml:"dysms"`
}
+6
View File
@@ -0,0 +1,6 @@
package config
type Dysms struct {
DysmsAccessKey string `mapstructure:"dysms-access-key" json:"dysms-access-key" yaml:"dysms-access-key"`
DysmsAccessSecret string `mapstructure:"dysms-access-secret" json:"dysms-access-secret" yaml:"dysms-access-secret"`
}