浏览代码

提交数据

lvhao 4 月之前
父节点
当前提交
268765f171
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/CoreApp/controllers/Apipf.php

+ 2 - 2
core/CoreApp/controllers/Apipf.php

@@ -64,10 +64,10 @@ class Apipf extends Start_Controller{
         $hour = date("H");
         $minute = date("i");
         //$this->db->query("update crowd_customer set more_three = 1,is_tb = 0 where num >= 5");
-        if($hour != 20){
+        if($hour !=19){
             die("Execution conditions hour do not allow");
         }
-        if(($minute >= 10)&&($minute <=40)){
+        if(($minute >= 0)&&($minute <=20)){
             $this->db->query("update crowd_customer set more_three = 1 where num >= 5 and more_three = 0 and shop in (1,2,3,4,5,6)");
             die("No executable data available");
         }else{