Browse Source

新用户判断完善

master
weigang 5 years ago
parent
commit
68ff7e52e3
  1. 1
      app/Service/v3/Implementations/UserService.php

1
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)

Loading…
Cancel
Save