|
|
@@ -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);
|