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
daa57f37
Commit
daa57f37
authored
Apr 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清除多余推送
parent
78d9138c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
OrderLogService.php
application/api_broker/service/OrderLogService.php
+0
-22
No files found.
application/api_broker/service/OrderLogService.php
View file @
daa57f37
...
...
@@ -70,28 +70,6 @@ class OrderLogService
if
(
!
empty
(
$bill_arr
))
{
$pushMarchIn
=
new
PushMessageService
(
$params
[
"report_id"
],
2
);
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
2
);
//推送
/*推送 客方,盘方,独家方,店长 start*/
$ge_tui
=
new
GeTuiUntils
();
$agent_
=
new
AAgents
();
$report
=
new
OReportModel
();
$order
=
new
OrderModel
();
$order_agent_device
=
$agent_
->
getAgentEelationByOrderId
(
$order_id
);
//独家和盘方
$report_agent_device
=
$report
->
getAgentByReportId
(
$report_id
);
//客方
$name
=
$agent_
->
getAgentsById
(
$agent_id
,
'name'
);
$store_data
=
$agent_
->
getStoreAgentId
(
$agent_id
);
//店长
$order_data
=
$order
->
getOrderById
(
'house_title'
,
$order_id
);
$content
=
"恭喜【
{
$store_data
[
'store_name'
]
}
】店【
{
$name
}
】成交【
{
$order_data
[
'house_title'
]
}
】商铺一套"
;
$ge_tui
->
public_push_message_for_one
(
$store_data
[
'id'
],
$store_data
[
'device_id'
],
'成交商铺'
,
$content
);
$ge_tui
->
public_push_message_for_one
(
$report_agent_device
[
'id'
],
$report_agent_device
[
'device_id'
],
'成交商铺'
,
$content
);
foreach
(
$order_agent_device
as
$v
)
{
$ge_tui
->
public_push_message_for_one
(
$v
[
'id'
],
$v
[
'device_id'
],
'成交商铺'
,
$content
);
}
/*推送 客方,盘方,独家方,店长 end*/
return
$this
->
payLogModel
->
addPayLog
(
$bill_arr
);
}
return
$father_id
;
...
...
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