Commit 7d8b5ee1 authored by hujun's avatar hujun

转定推送

parent 964a9a3d
......@@ -777,8 +777,7 @@ Route::group('task', [
'updateShopAgeLimit' => ['task/JobTask/updateShopAgeLimit', ['method' => 'get']], //默认年限
'push' => ['task/PushMessageTask/push', ['method' => 'get']], //推送和客户推送
'pushLastTransferTimeMsg' => ['task/PushMessageTask/pushLastTransferTimeMsg', ['method' => 'get']], //推送最后转定时间提醒-商铺
'pushLastTransferOfficeMsg' => ['task/PushMessageTask/pushLastTransferOfficeMsg', ['method' => 'get']], //推送最后转定时间提醒-办公楼
'pushTransferMsg' => ['task/PushMessageTask/pushTransferMsg', ['method' => 'get']], //推送最后转定时间提醒-商铺和办公楼
'updateLandlordLimit' => ['task/JobTask/updateLandlordLimit', ['method' => 'get']], //转换房东手机号
......
......@@ -40,7 +40,7 @@ class PushMessageTask
*
* @return null|void
*/
public function pushLastTransferTimeMsg()
private function pushLastTransferTimeMsg()
{
set_time_limit(0);
$m_pay = new OPayLogModel();
......@@ -155,7 +155,7 @@ class PushMessageTask
*
* @return null|void
*/
public function pushLastTransferOfficeMsg()
private function pushLastTransferOfficeMsg()
{
set_time_limit(0);
$m_pay = new OfficeOPayLogModel();
......@@ -240,4 +240,13 @@ class PushMessageTask
return;
}
/**
* 商铺和办公楼最后转定时间推送
*/
public function pushTransferMsg()
{
$this->pushLastTransferOfficeMsg();
$this->pushLastTransferTimeMsg();
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment