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