@ -291,8 +291,13 @@ public class SysUserController extends BaseController {
if (!b) {
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
}
// 修改角色
// 修改角色(供应商账号)
AuthAdmin byId = userService.findById(authUserSaveRequest.getId());
if("110".equals(byId.getCustomerId())){
userService.insertUserAuth(authAdmin.getId(), authUserSaveRequest.getRoles());
userService.updateAuthAdmin(authAdmin);