检测工人

This commit is contained in:
13405411873 2024-11-11 10:35:46 +08:00
parent 0e6aa49c68
commit ee30997021

View File

@ -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'");
}