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
9f6f01e0
Commit
9f6f01e0
authored
Sep 19, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
other_id
parent
6c4c92ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
PushClientService.php
application/api/service/PushClientService.php
+4
-1
OrderLog.php
application/api_broker/controller/OrderLog.php
+1
-1
No files found.
application/api/service/PushClientService.php
View file @
9f6f01e0
...
@@ -33,7 +33,7 @@ class PushClientService
...
@@ -33,7 +33,7 @@ class PushClientService
* @param int $operation_id
* @param int $operation_id
* @return bool
* @return bool
*/
*/
public
function
record
(
int
$report_id
,
int
$order_id
,
int
$type
,
$message
,
int
$operation_id
,
$addressee_id
=
0
)
public
function
record
(
int
$report_id
,
int
$order_id
,
int
$type
,
$message
,
int
$operation_id
,
$addressee_id
=
0
,
$other_id
=
0
)
{
{
$order
=
new
OrderModel
();
$order
=
new
OrderModel
();
...
@@ -54,6 +54,9 @@ class PushClientService
...
@@ -54,6 +54,9 @@ class PushClientService
$data
[
'order_id'
]
=
$order_id
;
$data
[
'order_id'
]
=
$order_id
;
$data
[
'house_id'
]
=
$house_id
;
$data
[
'house_id'
]
=
$house_id
;
$data
[
'user_id'
]
=
$user_id
;
$data
[
'user_id'
]
=
$user_id
;
if
(
$other_id
)
{
$data
[
'other_id'
]
=
$other_id
;
}
return
$this
->
m_push
->
addData
(
$data
,
$operation_id
,
$type
);
return
$this
->
m_push
->
addData
(
$data
,
$operation_id
,
$type
);
}
}
...
...
application/api_broker/controller/OrderLog.php
View file @
9f6f01e0
...
@@ -88,7 +88,7 @@ class OrderLog extends Basic
...
@@ -88,7 +88,7 @@ class OrderLog extends Basic
//评价经纪人
//评价经纪人
$push_client
=
new
PushClientService
();
$push_client
=
new
PushClientService
();
$push_client
->
record
((
int
)
$params
[
"report_id"
],
(
int
)
$params
[
"order_id"
],
0
,
''
,
(
int
)
$this
->
agentId
);
$push_client
->
record
((
int
)
$params
[
"report_id"
],
(
int
)
$params
[
"order_id"
],
0
,
''
,
(
int
)
$this
->
agentId
,
$insert_id
);
//对客户发送短信通知 7151
//对客户发送短信通知 7151
// $this->sendSMSForUser($params["report_id"]);
// $this->sendSMSForUser($params["report_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