APPLE пре 3 година
родитељ
комит
d083c81f61
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/Common/TradeService.php

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

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