fixed
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user