客户类型
This commit is contained in:
@@ -136,6 +136,7 @@ class CustomerController
|
||||
if (Util::isEmpty($userId)) {
|
||||
return Util::fail(['user_id' => $userId], trans('user_none'));
|
||||
}
|
||||
$where[] = ['type', 0];
|
||||
$where[] = ['user_id', $userId];
|
||||
//验证权限
|
||||
// if ($request->user['role'] != 1) {
|
||||
@@ -489,6 +490,7 @@ class CustomerController
|
||||
[
|
||||
'user_sn' => $user_sn,
|
||||
'uid' => $uid,
|
||||
'type' => 0,
|
||||
'channel_id' => $channel_id,
|
||||
'country_id' => $country_id,
|
||||
'magnitude' => $magnitude,
|
||||
|
||||
Reference in New Issue
Block a user