From 1f46bdbb7a02df39041dfaf4c6b3a76440016f0a Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 04 九月 2019 15:16:53 +0800 Subject: [PATCH] add dbpersoncompare query --- controllers/sysMenu.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/sysMenu.go b/controllers/sysMenu.go index 1ff0000..f629b5d 100644 --- a/controllers/sysMenu.go +++ b/controllers/sysMenu.go @@ -27,7 +27,7 @@ user := (*authDriver).User(c) logger.Debug("current:",user) if user !=nil { - menus := user.(map[string]interface{})["sysMenus"] + menus := user.(map[string]interface{})["permissions"] util.ResponseFormat(c,code.Success,menus) } else { util.ResponseFormat(c,code.NotLogin,"") -- Gitblit v1.8.0