orders aggs_biz_ding_piao_rpt, plan online

This commit is contained in:
qianhy
2022-12-19 00:20:09 +08:00
committed by lccsw
parent 8d70114e8f
commit df53fc24d4
+3 -2
View File
@@ -482,7 +482,8 @@ class Order extends CI_Controller{
public function send_aggs_biz_ding_piao_rpt(){
$params = $this->input->get();
$hour = date('H.i');
if ( !($hour >= 17.50 && $hour <= 18.0 || $hour >= 23.00 && $hour <= 23.10 || $params['sd'])) {
$test = false;
if ( !($hour >= 23.00 && $hour <= 23.10 || $params['sd'])) {
return false;
}
@@ -546,7 +547,7 @@ class Order extends CI_Controller{
echo "执行结果:$img_path 生成 image_key$image_key<br>";
}
$this->load->library('qyrobot', array('test'=>1));
$this->load->library('qyrobot', array('test'=>$test));
$msg = [
"msg_type" => "image",
"content" => [