This commit is contained in:
2025-03-28 15:39:17 +08:00
parent 835747e29c
commit 471a19aaff

View File

@@ -27,9 +27,8 @@ class Tasktimer extends Controller
*/ */
function runMinutes(){ function runMinutes(){
Tools::log_to_write_txt(['客户回访计划启动0']);
//客户回访计划 //客户回访计划
Mmodel::catchJson(function (){ Mmodel::catch(function (){
$this->returnPlan(); $this->returnPlan();
}); });
} }
@@ -43,7 +42,6 @@ class Tasktimer extends Controller
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
function returnPlan(){ function returnPlan(){
Tools::log_to_write_txt(['客户回访计划,启动']);
//回访记录 //回访记录
$return_record = Db::table('fa_firmcustomerfollowuprecord') $return_record = Db::table('fa_firmcustomerfollowuprecord')
->where('status','no') ->where('status','no')