Commit 224ac646 by 杨树贤

优化提示

parent 907b326a
...@@ -520,7 +520,7 @@ class SupplierApiController extends Controller ...@@ -520,7 +520,7 @@ class SupplierApiController extends Controller
} else if ($channelUserType == SupplierContactModel::CHANNEL_USER_TYPE_INVENTORY) { } else if ($channelUserType == SupplierContactModel::CHANNEL_USER_TYPE_INVENTORY) {
$service = new SupplierContactService(); $service = new SupplierContactService();
if (!$service->validateDataFollowerDepartment($channelUid)) { if (!$service->validateDataFollowerDepartment($channelUid)) {
$this->response(-1, '数据跟单员必须属于部门ID为113或137的部门'); $this->response(-1, '数据跟单员必须属于部门 (新质供应链部/跟单数据组 | 商品供应链部/数据跟单组)');
} }
$check = $adminService->checkIsResignedByCodeId($channelUid); $check = $adminService->checkIsResignedByCodeId($channelUid);
if ($check) { if ($check) {
......
...@@ -132,7 +132,7 @@ class SupplierContactApiController extends Controller ...@@ -132,7 +132,7 @@ class SupplierContactApiController extends Controller
//如果channel_user_type=4,那么就要校验当前can_check_uids的部门id是否是113或137 //如果channel_user_type=4,那么就要校验当前can_check_uids的部门id是否是113或137
if ($data['channel_user_type'] == 4) { if ($data['channel_user_type'] == 4) {
if (!$service->validateDataFollowerDepartment($data['can_check_uids'])) { if (!$service->validateDataFollowerDepartment($data['can_check_uids'])) {
$this->response(-1, '数据跟单员必须属于部门ID为113或137的部门'); $this->response(-1, '数据跟单员必须属于部门 (新质供应链部/跟单数据组 | 商品供应链部/数据跟单组)');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment