Commit 2e25c236a29859d200901435035a82f2dbbffa94
1 parent
8f1973d719
Exists in
master
and in
8 other branches
bug fix
管理员默认机构
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
2e25c23
... | ... | @@ -579,7 +579,7 @@ |
579 | 579 | Users users = new Users(); |
580 | 580 | users.setType(UserTypeEnum.PLATFORM_ADMIN.getId()); |
581 | 581 | users.setName(name); |
582 | - user.setOrgId(Integer.parseInt(defaultAdminOrgId)); | |
582 | + users.setOrgId(Integer.parseInt(defaultAdminOrgId)); | |
583 | 583 | users.setAccount(account); |
584 | 584 | users.setPhone(phone); |
585 | 585 | users.setEnable(enable); |