diff --git a/app/controller/CustomerController.php b/app/controller/CustomerController.php index b81414f..a60594b 100644 --- a/app/controller/CustomerController.php +++ b/app/controller/CustomerController.php @@ -140,6 +140,7 @@ class CustomerController if (Util::isEmpty($userId)) { return Util::fail(['user_id' => $userId], trans('user_none')); } + $where[] = ['type', 0]; if($seas == 'seas'){ $where[] = ['user_id', 0]; }else{ @@ -586,6 +587,7 @@ class CustomerController [ 'user_sn' => $user_sn, 'uid' => $uid, + 'type' => 0, 'channel_id' => $channel_id, 'country_id' => $country_id, 'magnitude' => $magnitude,