Commit 18bdcf61 authored by hujun's avatar hujun

经纪人和客户推送

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