作者 tangxvhui

bug 修复

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