Commit 18bdcf61 authored by hujun's avatar hujun

经纪人和客户推送

parent 18ab9c66
...@@ -522,8 +522,7 @@ Route::group('task', [ ...@@ -522,8 +522,7 @@ Route::group('task', [
'updateShopAddress' => ['task/JobTask/updateShopAddress', ['method' => 'get']], //默认图片 'updateShopAddress' => ['task/JobTask/updateShopAddress', ['method' => 'get']], //默认图片
'updateShopAgeLimit' => ['task/JobTask/updateShopAgeLimit', ['method' => 'get']], //默认年限 'updateShopAgeLimit' => ['task/JobTask/updateShopAgeLimit', ['method' => 'get']], //默认年限
'push' => ['task/PushMessageTask/push', ['method' => 'get']], //推送 'push' => ['task/PushMessageTask/push', ['method' => 'get']], //推送和客户推送
'pushClient' => ['task/PushMessageTask/pushClient', ['method' => 'get']], //推送
'updateLandlordLimit' => ['task/JobTask/updateLandlordLimit', ['method' => 'get']] //转换房东手机号 'updateLandlordLimit' => ['task/JobTask/updateLandlordLimit', ['method' => 'get']] //转换房东手机号
]); ]);
......
...@@ -18,14 +18,11 @@ class PushMessageTask ...@@ -18,14 +18,11 @@ class PushMessageTask
* 定时推送 (5分钟) * 定时推送 (5分钟)
*/ */
public function push() { public function push() {
//经纪人
$push = new PushMessageService(); $push = new PushMessageService();
$push->pushRecord(); $push->pushRecord();
}
/** //客户
* 定时推送 (1分钟)
*/
public function pushClient() {
$push = new PushClientService(); $push = new PushClientService();
$push->pushRecord(); $push->pushRecord();
} }
......
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