增加了app的配置文件
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package config
|
||||
|
||||
type App struct {
|
||||
ApiUrl string `mapstructure:"apiUrl" json:"apiUrl" yaml:"apiUrl"`
|
||||
SecretKey string `mapstructure:"secretKey" json:"secretKey" yaml:"secretKey"`
|
||||
ImagePrefix string `mapstructure:"imagePrefix" json:"imagePrefix" yaml:"imagePrefix"`
|
||||
Platform string `mapstructure:"platform" json:"platform" yaml:"platform"`
|
||||
}
|
||||
@@ -14,4 +14,5 @@ type Config struct {
|
||||
Dysms Dysms `mapstructure:"dysms" json:"dysms" yaml:"dysms"`
|
||||
Wechat Wechat `mapstructure:"wechat" json:"wechat" yaml:"wechat"`
|
||||
Amqp Amqp `mapstructure:"amqp" json:"amqp" yaml:"amqp"`
|
||||
App App `mapstructure:"app" json:"app" yaml:"app"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user