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)