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
74a53851
Commit
74a53851
authored
Dec 26, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间轴
parent
42e70acf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
PayLogService.php
application/api_broker/service/PayLogService.php
+4
-3
ORefundModel.php
application/model/ORefundModel.php
+3
-1
No files found.
application/api_broker/service/PayLogService.php
View file @
74a53851
...
@@ -288,11 +288,12 @@ class PayLogService
...
@@ -288,11 +288,12 @@ class PayLogService
*/
*/
public
function
getRefundDetail
(
$refund_id
)
public
function
getRefundDetail
(
$refund_id
)
{
{
$field
=
"id,report_id,agent_id,agent_name,order_no,order_id,refund_money,status,name,phone,bank,card_no,
$field
=
"a.id,a.report_id,a.agent_id,a.agent_name,a.order_no,a.order_id,a.refund_money,a.status,a.name
remark,receipt_number,type,refund_cause,pay_log_id,refund_way"
;
,a.phone,a.bank,a.card_no, a.remark,a.receipt_number,a.type,a.refund_cause,a.pay_log_id,a.refund_way,
a.create_time,b.income_time"
;
$params
[
"id"
]
=
$refund_id
;
$params
[
"id"
]
=
$refund_id
;
$params
[
"is_del"
]
=
0
;
$params
[
"is_del"
]
=
0
;
$result
=
$this
->
oRefundModel
->
selectRefundByOrderNo
(
$field
,
$params
);
$result
=
$this
->
oRefundModel
->
selectRefund
Detail
ByOrderNo
(
$field
,
$params
);
if
(
count
(
$result
)
>
0
)
{
if
(
count
(
$result
)
>
0
)
{
$item
=
$result
[
0
];
$item
=
$result
[
0
];
$item
[
"img_path"
]
=
CHAT_IMG_URL
;
$item
[
"img_path"
]
=
CHAT_IMG_URL
;
...
...
application/model/ORefundModel.php
View file @
74a53851
...
@@ -151,7 +151,9 @@ class ORefundModel extends Model{
...
@@ -151,7 +151,9 @@ class ORefundModel extends Model{
if
(
isset
(
$params
[
"order_id"
]))
{
if
(
isset
(
$params
[
"order_id"
]))
{
$where_
[
"a.order_id"
]
=
$params
[
"order_id"
];
$where_
[
"a.order_id"
]
=
$params
[
"order_id"
];
}
}
if
(
isset
(
$params
[
"id"
]))
{
$where_
[
"id"
]
=
$params
[
"id"
];
}
return
$this
->
db_
return
$this
->
db_
->
field
(
$filed
)
->
field
(
$filed
)
...
...
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