Browse Source

fix:bug

dev
Tooooommy 4 years ago
parent
commit
78a9211fca
  1. 2
      models/live_config.go

2
models/live_config.go

@ -62,7 +62,7 @@ func (t *LiveConfig) Like(aid interface{}) (int64, error) {
}
func (t *LiveConfig) HaveModule(module string) bool {
exist, _ := core.GetXormAuto().Where("is_delete=0 and name=?", module).In("id", t.AdaptationFunc).Exist(&ModuleService{})
exist, _ := core.GetXormAuto().Where("is_delete=0 and name=?", module).In("id", t.AdaptationFunc).Exist(&ModuleServiceHistory{})
return exist
}

Loading…
Cancel
Save