|
@@ -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{
|