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
1c61ae7c
Commit
1c61ae7c
authored
Apr 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告推送
parent
1be2c2f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
PushMessageService.php
application/api_broker/service/PushMessageService.php
+2
-3
No files found.
application/api_broker/service/PushMessageService.php
View file @
1c61ae7c
...
@@ -102,8 +102,7 @@ class PushMessageService
...
@@ -102,8 +102,7 @@ class PushMessageService
//客方
//客方
if
(
!
empty
(
$user_agent_id
[
'agent_id'
]))
{
if
(
!
empty
(
$user_agent_id
[
'agent_id'
]))
{
$agent_data
[
$key
][
'id'
]
=
$user_agent_id
[
'agent_id'
];
$agent_data
[
$key
][
'id'
]
=
$user_agent_id
[
'agent_id'
];
$device_id
=
$agent
->
getAgentsById
(
$user_agent_id
[
'agent_id'
],
'device_id'
);
$agent_data
[
$key
][
'device_id'
]
=
$agent
->
getAgentsById
(
$user_agent_id
[
'agent_id'
],
'device_id'
);
$agent_data
[
$key
][
'device_id'
]
=
$device_id
[
'device_id'
];
$key
++
;
$key
++
;
}
}
...
@@ -135,7 +134,7 @@ class PushMessageService
...
@@ -135,7 +134,7 @@ class PushMessageService
$content
=
"恭喜【
{
$store_name
}
】店【
{
$report_data
[
'report_agent_name'
]
}
】成交【
{
$report_data
[
'house_title'
]
}
】商铺一套"
;
$content
=
"恭喜【
{
$store_name
}
】店【
{
$report_data
[
'report_agent_name'
]
}
】成交【
{
$report_data
[
'house_title'
]
}
】商铺一套"
;
foreach
(
$agent_data
as
$k
=>
$v
)
{
foreach
(
$agent_data
as
$k
=>
$v
)
{
dump
(
$ge_tui
->
public_push_message_for_one
(
$v
[
'id'
],
$v
[
'device_id'
],
'成交就是这么简单'
,
$content
)
);
$ge_tui
->
public_push_message_for_one
(
$v
[
'id'
],
$v
[
'device_id'
],
'成交就是这么简单'
,
$content
);
}
}
return
;
return
;
...
...
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