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
4cf84e26
Commit
4cf84e26
authored
Apr 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改成交报告推送
parent
b774da51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
OrderLogService.php
application/api_broker/service/OrderLogService.php
+3
-2
PushMessageService.php
application/api_broker/service/PushMessageService.php
+1
-1
No files found.
application/api_broker/service/OrderLogService.php
View file @
4cf84e26
...
...
@@ -132,11 +132,12 @@ class OrderLogService
array_push
(
$agent_arr
,[
$commission_val
[
"agent_id"
]]);
}
if
(
$father_id
>
0
)
{
//修改楼盘
$houseNumUpdateService
=
new
HouseNumUpdateService
();
$houseNumUpdateService
->
updateHouseNumByBargain
(
$order_id
);
$push_message
=
new
PushMessageService
();
$push_message
->
pushBargainMessage
(
$agent_arr
,
$report_id
);
//推送
$houseNumUpdateService
=
new
HouseNumUpdateService
();
$houseNumUpdateService
->
updateHouseNumByBargain
(
$order_id
);
}
//todo if bill_arr not null, save database table
if
(
!
empty
(
$bargain_arr
))
{
...
...
application/api_broker/service/PushMessageService.php
View file @
4cf84e26
...
...
@@ -102,7 +102,7 @@ class PushMessageService
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
$store
=
new
AStore
();
$store_name
=
$store
->
getStoreKeyById
(
'store_name'
);
$store_name
=
$store
->
getStoreKeyById
(
'store_name'
,
$report_data
[
'report_store_id'
]
);
$content
=
"恭喜【
{
$store_name
}
】店【
{
$report_data
[
'report_agent_name'
]
}
】成交【
{
$report_data
[
'house_title'
]
}
】商铺一套"
;
...
...
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