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
f380f349
Commit
f380f349
authored
Jan 04, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交收款人姓名
parent
24ebd577
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
OrderLog.php
application/api_broker/controller/OrderLog.php
+2
-2
PushMessageService.php
application/api_broker/service/PushMessageService.php
+3
-2
No files found.
application/api_broker/controller/OrderLog.php
View file @
f380f349
...
@@ -79,7 +79,7 @@ class OrderLog extends Basic
...
@@ -79,7 +79,7 @@ class OrderLog extends Basic
$is_ok
=
$this
->
o_march_in_model
->
addMarchIn
(
$params
);
$is_ok
=
$this
->
o_march_in_model
->
addMarchIn
(
$params
);
if
(
$is_ok
>
0
)
{
if
(
$is_ok
>
0
)
{
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$
params
[
"report_id"
]
);
//推送
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$
this
->
agentId
);
//推送
return
$this
->
response
(
"200"
,
"request success"
,
[]);
return
$this
->
response
(
"200"
,
"request success"
,
[]);
}
else
{
}
else
{
return
$this
->
response
(
"101"
,
"request faild"
);
return
$this
->
response
(
"101"
,
"request faild"
);
...
@@ -127,7 +127,7 @@ class OrderLog extends Basic
...
@@ -127,7 +127,7 @@ class OrderLog extends Basic
$oImgModel
->
addImgAll
(
$insert_id
,
1
,
$march_in_img
);
$oImgModel
->
addImgAll
(
$insert_id
,
1
,
$march_in_img
);
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$
params
[
"report_id"
]
);
//推送
$pushMarchIn
->
pushMarchInMessage
(
$params
[
"report_id"
],
1
,
$
this
->
agentId
);
//推送
//评价经纪人
//评价经纪人
$push_client
=
new
PushClientService
();
$push_client
=
new
PushClientService
();
...
...
application/api_broker/service/PushMessageService.php
View file @
f380f349
...
@@ -83,7 +83,7 @@ class PushMessageService
...
@@ -83,7 +83,7 @@ class PushMessageService
{
{
$report
=
new
OReportModel
();
$report
=
new
OReportModel
();
$field
=
'house_title,user_name,report_store_id,report_agent_id,a.user_id,b.house_id,b.id as order_id'
;
$field
=
'house_title,user_name,report_store_id,report_agent_id,a.user_id,b.house_id,b.id as order_id
,a.report_agent_name
'
;
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
$agent
=
new
AAgents
();
$agent
=
new
AAgents
();
...
@@ -92,7 +92,8 @@ class PushMessageService
...
@@ -92,7 +92,8 @@ class PushMessageService
$data
[
'message'
]
=
"客户
{
$report_data
[
'user_name'
]
}
进场【
{
$report_data
[
'house_title'
]
}
】商铺"
;
$data
[
'message'
]
=
"客户
{
$report_data
[
'user_name'
]
}
进场【
{
$report_data
[
'house_title'
]
}
】商铺"
;
$push_type
=
5
;
$push_type
=
5
;
}
else
{
}
else
{
$data
[
'message'
]
=
"【
{
$report_data
[
'house_title'
]
}
】商铺收款"
;
$operation_name
=
$agent
->
getAgentsById
(
$operation_id
,
'name'
);
$data
[
'message'
]
=
"
{
$operation_name
}
提交【
{
$report_data
[
'house_title'
]
}
】商铺收款"
;
$m_user
=
new
Users
();
$m_user
=
new
Users
();
$client_agent
=
$m_user
->
getUserByWhereValue
(
'agent_id'
,
[
'id'
=>
$report_data
[
'user_id'
]]);
$client_agent
=
$m_user
->
getUserByWhereValue
(
'agent_id'
,
[
'id'
=>
$report_data
[
'user_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