作者 tangxvhui

更新配置

... ... @@ -4,6 +4,8 @@ Port: 8081
Verbose: false
Migrate: false
Timeout: 30000
# CertFile: ./key/fjmaimaimai.com_bundle.crt
# KeyFile: ./key/fjmaimaimai.com.key
Log:
#Mode: file
Encoding: plain
... ...
... ... @@ -10,7 +10,7 @@ type Auth struct {
}
type Config struct {
DB struct {
DataSource string
DataSource string `json:",env=DataSource"`
} `json:",optional"`
Cache cache.CacheConf `json:",optional"`
DTM DTM `json:",optional"`
... ...