登录bug修复

master
jiakun.lin 4 years ago
parent f52dec538d
commit 41ef326915
  1. 5
      src/main/java/com/yipin/liuwanr/controller/UserInfoController.java

@ -361,6 +361,11 @@ public class UserInfoController {
return resp; return resp;
}else{ }else{
List list = permissionService.getPermission(roleIds); List list = permissionService.getPermission(roleIds);
if (list == null){
resp.setStatus(401);
resp.setErrmessage("无登录权限,请联系管理员处理!");
return resp;
}
map.put("retvalue",ret.get("retvalue")); map.put("retvalue",ret.get("retvalue"));
map.put("listValue",list); map.put("listValue",list);
} }

Loading…
Cancel
Save