From 68ff7e52e37bea3b82d633f6d3b04b86539eaece Mon Sep 17 00:00:00 2001 From: weigang Date: Tue, 22 Sep 2020 14:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=94=A8=E6=88=B7=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/UserService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Service/v3/Implementations/UserService.php b/app/Service/v3/Implementations/UserService.php index ad2c162..15fb5ef 100644 --- a/app/Service/v3/Implementations/UserService.php +++ b/app/Service/v3/Implementations/UserService.php @@ -23,6 +23,7 @@ class UserService implements UserServiceInterface public function isPlatformNewUser($userId, $globalOrderId): bool { return !OrderMain::query() + ->withTrashed() ->where(['user_id' => $userId]) ->where('global_order_id', '!=', $globalOrderId) ->whereIn('state', OrderState::FINISH)