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
e464dbea
Commit
e464dbea
authored
Apr 09, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
44657000
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
OrderLog.php
application/api_broker/controller/OrderLog.php
+2
-1
OrderLogService.php
application/api_broker/service/OrderLogService.php
+1
-1
ORefundModel.php
application/model/ORefundModel.php
+3
-0
No files found.
application/api_broker/controller/OrderLog.php
View file @
e464dbea
...
@@ -132,12 +132,13 @@ class OrderLog extends Basic
...
@@ -132,12 +132,13 @@ class OrderLog extends Basic
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
if
(
!
isset
(
$params
[
"agent_id"
])
||
!
isset
(
$params
[
"report_id"
])
||
!
isset
(
$params
[
"order_id"
])
||
!
isset
(
$params
[
"order_no"
])
if
(
!
isset
(
$params
[
"agent_id"
])
||
!
isset
(
$params
[
"
agent_name"
])
||
!
isset
(
$params
[
"
report_id"
])
||
!
isset
(
$params
[
"order_id"
])
||
!
isset
(
$params
[
"order_no"
])
||
!
isset
(
$params
[
"refund_money"
]))
{
||
!
isset
(
$params
[
"refund_money"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
}
/* $params = array(
/* $params = array(
"agent_id" => 1,//退款经纪人id
"agent_id" => 1,//退款经纪人id
"agent_name" => 1,//退款经纪人id
"report_id" => 1,//报备id
"report_id" => 1,//报备id
"order_id" => 1, //关联order表id
"order_id" => 1, //关联order表id
"order_no" => "12312312312312", //订单no
"order_no" => "12312312312312", //订单no
...
...
application/api_broker/service/OrderLogService.php
View file @
e464dbea
...
@@ -389,7 +389,7 @@ class OrderLogService
...
@@ -389,7 +389,7 @@ class OrderLogService
public
function
getSearchOrder
(
$params
)
public
function
getSearchOrder
(
$params
)
{
{
$condition
=
$where_
=
"1=1 "
;
$condition
=
$where_
=
"1=1 "
;
$field
=
"a.id,a.order_no,a.f_id,a.house_id,a.house_title,b.report_agent_id,b.report_agent_phone,b.report_agent_name,
$field
=
"a.id
as order_id
,a.order_no,a.f_id,a.house_id,a.house_title,b.report_agent_id,b.report_agent_phone,b.report_agent_name,
b.user_id,b.user_phone,b.user_name,b.predict_see_time"
;
b.user_id,b.user_phone,b.user_name,b.predict_see_time"
;
switch
((
int
)
$params
[
"type"
])
{
switch
((
int
)
$params
[
"type"
])
{
case
0
:
case
0
:
...
...
application/model/ORefundModel.php
View file @
e464dbea
...
@@ -32,6 +32,9 @@ class ORefundModel extends Model{
...
@@ -32,6 +32,9 @@ class ORefundModel extends Model{
if
(
isset
(
$params
[
"agent_id"
])){
if
(
isset
(
$params
[
"agent_id"
])){
$refund_arr
[
"agent_id"
]
=
$params
[
"agent_id"
];
$refund_arr
[
"agent_id"
]
=
$params
[
"agent_id"
];
}
}
if
(
isset
(
$params
[
"agent_name"
])){
$refund_arr
[
"agent_name"
]
=
$params
[
"agent_name"
];
}
if
(
isset
(
$params
[
"report_id"
])){
if
(
isset
(
$params
[
"report_id"
])){
$refund_arr
[
"report_id"
]
=
$params
[
"report_id"
];
$refund_arr
[
"report_id"
]
=
$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