上传db配置修复
This commit is contained in:
parent
bdb9e4198f
commit
dce7a341f5
@ -71,7 +71,7 @@ func (this *Service) InitSys() {
|
|||||||
// log.Infof("init sys.timewheel success!")
|
// log.Infof("init sys.timewheel success!")
|
||||||
// }
|
// }
|
||||||
//存储系统
|
//存储系统
|
||||||
if err := db.OnInit(this.GetSettings().Sys["db"]); err != nil {
|
if err := db.OnInit(this.GetSettings().Sys["db"], db.SetServiceId(this.GetTag())); err != nil {
|
||||||
panic(fmt.Sprintf("init sys.db err: %s", err.Error()))
|
panic(fmt.Sprintf("init sys.db err: %s", err.Error()))
|
||||||
} else {
|
} else {
|
||||||
log.Infof("init sys.db success!")
|
log.Infof("init sys.db success!")
|
||||||
|
Loading…
Reference in New Issue
Block a user