客户类型

This commit is contained in:
2025-04-01 11:13:53 +08:00
parent a005d98532
commit 64d294f3c8
+2
View File
@@ -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,