|
|
|
@ -622,7 +622,7 @@ class User extends BaseController |
|
|
|
|
return app('json')->fail('所选合作人角色不存在'); |
|
|
|
|
} |
|
|
|
|
foreach ($user_role_id as $k => $value) { |
|
|
|
|
$user_role_id[$k] = (int)$value; |
|
|
|
|
$user_role_ids[$k] = (int)$value; |
|
|
|
|
if (!$partnerRepository->roleExists((int)$value)) |
|
|
|
|
return app('json')->fail('该位置已分配,请重新选择'); |
|
|
|
|
} |
|
|
|
|