作者 tangxvhui

bug 修复

@@ -134,6 +134,7 @@ func GetUserPermission(userid int64, field string) (rbac.PermissionOptionObject, @@ -134,6 +134,7 @@ func GetUserPermission(userid int64, field string) (rbac.PermissionOptionObject,
134 if !ok { 134 if !ok {
135 return nil, errors.New("cannot get object") 135 return nil, errors.New("cannot get object")
136 } 136 }
  137 + log.Info("Redis DATA===>%s", str)
137 permissionObj = fn() 138 permissionObj = fn()
138 err = json.Unmarshal([]byte(str), &permissionObj) 139 err = json.Unmarshal([]byte(str), &permissionObj)
139 return permissionObj, err 140 return permissionObj, err