This website works better with JavaScript.
Home
Explore
Help
Sign In
server
/
formallProject
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[用户管理][修改]返回roleId
release_toaliyun_real
jinguo24@163.com
7 years ago
parent
f870d0c8fc
commit
52a997bb49
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
mallinkAdmin/src/main/java/com/simple/controller/MallUserInfoController.java
+ 1
- 0
mallinkAdmin/src/main/java/com/simple/controller/MallUserInfoController.java
View File
@@ -62,6 +62,7 @@ public class MallUserInfoController {
if(ur.getSize()>0) {
MallRole role = mallRoleService.getById(ur.getList().get(0).getRoleId());
u.setRoleName(role.getName());
u.setRoleId(role.getId());
}
u.setPassword(null);//不返回密码
}
Write
Preview
Loading…
Cancel
Save