APPLE преди 3 години
родител
ревизия
3e11dd32f4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/Common/TradeService.php

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

@@ -93,7 +93,7 @@ class TradeService extends BaseService
             ->where($where)
             ->where('a.status','>', 0)
             ->where(function($query) use($type){
-                if($type == 1){
+                if($type == 1 || $type == 3){
                     $query->where('create_time','>=', strtotime(date('Y-m-d')));
                 }
             })