Explorar o código

wesmiler 抢表商城

APPLE %!s(int64=3) %!d(string=hai) anos
pai
achega
03d80686fb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Services/Common/TradeService.php

+ 1 - 0
app/Services/Common/TradeService.php

@@ -125,6 +125,7 @@ class TradeService extends BaseService
                         $query->where('a.user_id', '=', $userId);
                         $query->whereNotIn('a.sell_uid', [$userId]);
                     }else if($status == 2){
+                        $query->where('a.sell_uid', '=',$userId);
                         $query->whereNotIn('a.user_id', [$userId]);
                     }else{
                         $query->where('a.user_id', '=', $userId);