技术性调整

This commit is contained in:
hoteas
2022-07-18 08:46:09 +08:00
parent 8f7380d796
commit cc1bad8d3f
4 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func (that *MakeCode) Db2JSON(db *db.HoTimeDB, config Map) {
that.Error.SetError(errors.New("rule配置文件不存在,或者配置出错,使用缺省默认配置"))
}
//that.IndexMenus = Map{}
that.IndexMenus = Map{}
//menusConfig := that.Config.GetSlice("menus")
////将配置写入到内存中仅作为判断用
//if menusConfig != nil {