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
bf4517a0
Commit
bf4517a0
authored
Sep 04, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
喜报 content
parent
0f096ef6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
PushMessageService.php
application/api_broker/service/PushMessageService.php
+7
-3
No files found.
application/api_broker/service/PushMessageService.php
View file @
bf4517a0
...
...
@@ -162,7 +162,7 @@ class PushMessageService
$report
=
new
OReportModel
();
$feed
=
new
PushFeed
();
$agent
=
new
AAgents
();
//
$agent = new AAgents();
$field
=
'house_id,house_title,report_agent_name,user_id,report_agent_id'
;
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
...
...
@@ -174,9 +174,13 @@ class PushMessageService
}
//查询经纪人门店和部门信息
$agent_store
=
$agent
->
verifyUser
(
'store_id'
,
''
,
[
'id'
=>
$report_data
[
'report_agent_id'
]
]);
//
$agent_store = $agent->verifyUser('store_id', '', [ 'id' => $report_data['report_agent_id'] ]);
// $store = new AStore();
// $store_name = $store->getStoreDistrictName($agent_store['store_id']);
$s_service
=
new
RedisCacheService
();
$agent_data
=
$s_service
->
getRedisCache
(
2
,
$report_data
[
'report_agent_id'
]);
$content
=
$agent_data
[
'store_name'
]
.
'-'
.
$agent_data
[
'name'
];
$title
=
'成交就是这么简单'
;
$feed
->
editData
([
...
...
@@ -184,7 +188,7 @@ class PushMessageService
'agent_id'
=>
-
1
,
'report_id'
=>
$report_id
,
'house_id'
=>
$report_data
[
'house_id'
],
'content'
=>
$
report_data
[
'report_agent_name'
]
,
'content'
=>
$
content
,
'steel_phone'
=>
0
,
'type'
=>
0
,
'status'
=>
0
,
...
...
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