@@ -78,9 +78,7 @@ class AccountLogService extends BaseService
$join->on('c.order_no','=','a.order_no')->on('c.user_id','=','a.user_id');
})
->where(function($query) use($coinType){
- if($coinType == 3){
- $query->whereIn('a.coin_type',[2,3]);
- }else if($coinType>0){
+ if($coinType>0){
$query->where('a.coin_type', $coinType);
}