bianjunhui hace 2 años
padre
commit
411f70ae89
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      application/api/controller/Raffle.php

+ 2 - 0
application/api/controller/Raffle.php

@@ -184,6 +184,8 @@ class Raffle extends Api
         if(empty($where['r_id'])){
             $this->error('活动ID不能为空');
         }
+        //洛杉矶时间
+        date_default_timezone_set("America/Los_Angeles");
         $where['create_day'] =date('Y-m-d');
         return $where;
     }