Explorar o código

wesmiler 抢表商城

APPLE %!s(int64=3) %!d(string=hai) anos
pai
achega
3e11dd32f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')));
                 }
             })