wugg 2 gadi atpakaļ
vecāks
revīzija
c330d4e042
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/command/good.php

+ 1 - 1
app/command/good.php

@@ -23,7 +23,7 @@ class good extends Command
     protected function execute(Input $input, Output $output)
     {
         // 指令输出
-	    $this->date=date("Y-m-d 00:00:00",time());
+	    $this->date=date("Y-m-d H:i:s",time()-3600);
 	    $goodset =Cache::store("redis")->get("goodSet");
 	    if($goodset ==1) return;
 	    Cache::store("redis")->set("goodSet",1,1800);