检测工人
This commit is contained in:
parent
0e6aa49c68
commit
ee30997021
@ -154,9 +154,9 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl<PartnerCustomerI
|
|||||||
userSaveReqVO.setPassword("123456");
|
userSaveReqVO.setPassword("123456");
|
||||||
Long uid = userService.createUser(userSaveReqVO);
|
Long uid = userService.createUser(userSaveReqVO);
|
||||||
user.setId(uid);
|
user.setId(uid);
|
||||||
Set<Long> ids = new HashSet<>();
|
// Set<Long> ids = new HashSet<>();
|
||||||
ids.add(role.getId());
|
// ids.add(role.getId());
|
||||||
permissionService.assignUserRole(uid, ids);
|
// permissionService.assignUserRole(uid, ids);
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("无法找到角色 'jcyh'");
|
throw new RuntimeException("无法找到角色 'jcyh'");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user