edit-sylive-plan

This commit is contained in:
lccsw
2023-05-06 10:27:44 +08:00
parent 748d5a79ea
commit 1275aee2f6
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -61,6 +61,7 @@ class Plan extends CI_Controller
// $plan[] = array('url' => base_url(array('plan', 'syt', 'api_viewlog')), 'interval' => 1); //私域通直播间播放日志数据同步
// $plan[] = array('url' => base_url(array('plan', 'syt', 'union_user')), 'interval' => 1); //直播数据关联用户
$plan[] = array('url' => base_url(array('plan', 'syt', 'out_time')), 'interval' => 1); //订单过期
$plan[] = array('url' => base_url(array('plan', 'syt', 'thApi')), 'interval' => 1); //私域通通知第三方脚本
$this->plan = $plan;
}
+2 -1
View File
@@ -546,7 +546,7 @@ class Syt extends CI_Controller
$page = $this->input->get('page');
$size = $this->input->get('size');
!$page && $page=1;
!$size && $size=20;
!$size && $size=40;
$where = [
"activityId" => 11,
"areaId" =>0
@@ -569,6 +569,7 @@ class Syt extends CI_Controller
}
$syt->Tj($dlrCode,"活动客户",$val["mobile"],$mediaCaName,$leadNo);
$this->market_sylive_order_model->update(["areaId"=>1],["id"=>$val["id"]]);
sleep(1);
}
echo "剩余:".$count-$size;
}else{