From e1c63797e9c8c1d0163b0108d9df7b6d422fd6ce Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 30 七月 2019 11:28:02 +0800 Subject: [PATCH] fix char --- 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