wesmiler преди 1 година
родител
ревизия
005cc71490
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      app/Services/Api/AccountLogService.php

+ 1 - 3
app/Services/Api/AccountLogService.php

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