Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
18bdcf61
Commit
18bdcf61
authored
Dec 10, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人和客户推送
parent
18ab9c66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
route.php
application/route.php
+1
-2
PushMessageTask.php
application/task/controller/PushMessageTask.php
+2
-5
No files found.
application/route.php
View file @
18bdcf61
...
...
@@ -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'
]]
//转换房东手机号
]);
...
...
application/task/controller/PushMessageTask.php
View file @
18bdcf61
...
...
@@ -18,14 +18,11 @@ class PushMessageTask
* 定时推送 (5分钟)
*/
public
function
push
()
{
//经纪人
$push
=
new
PushMessageService
();
$push
->
pushRecord
();
}
/**
* 定时推送 (1分钟)
*/
public
function
pushClient
()
{
//客户
$push
=
new
PushClientService
();
$push
->
pushRecord
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment