@@ -94,7 +94,7 @@ func createMenu(datas []interface{}, loginID int) []ClientMenu {
rulekey := data["rulekey"].(string)
if len(rulekey) != 0 {
// 判断是否有权限
- funcMenuList, err := models.GetRoleFuncMenuLists(loginID, rulekey)
+ funcMenuList, err := models.GetErmcpRoleFuncMenuLists(loginID, rulekey)
if err != nil {
continue
}