瀏覽代碼

是否是区域或者超管

master
PoffyZhang 1 年之前
父節點
當前提交
e597d23808
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/UserRoleVO.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java 查看文件

@@ -331,6 +331,7 @@ public class UserInfoManage {
UserRoleVO userRoleVO = new UserRoleVO();
userRoleVO.setId(r.getId());
userRoleVO.setName(r.getName());
userRoleVO.setCode(r.getCode());
return userRoleVO;
}).collect(Collectors.toList());
}


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/UserRoleVO.java 查看文件

@@ -21,5 +21,5 @@ public class UserRoleVO {
private String name;

@ApiModelProperty(value = "角色code")
private RoleEnum code;
private String code;
}

Loading…
取消
儲存