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
52fa73ca
Commit
52fa73ca
authored
Dec 26, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间轴
parent
75f22488
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PayLogService.php
application/api_broker/service/PayLogService.php
+3
-3
No files found.
application/api_broker/service/PayLogService.php
View file @
52fa73ca
...
@@ -165,9 +165,9 @@ class PayLogService
...
@@ -165,9 +165,9 @@ class PayLogService
//验证金额是否合法
//验证金额是否合法
$payLogService
=
new
PayLogService
();
$payLogService
=
new
PayLogService
();
$residue_money
=
$payLogService
->
adjustment
(
$pay_log_id
);
$residue_money
=
$payLogService
->
adjustment
(
$pay_log_id
);
if
(
$residue_money
<
$refund_money
)
{
/*
if ($residue_money < $refund_money) {
return -2;
return -2;
}
}
*/
$insert_id
=
0
;
$insert_id
=
0
;
$arr
=
$this
->
refundBin
(
$agent_id
,
$agent_name
,
$report_id
,
$order_id
,
$order_no
,
$refund_money
,
$name
,
$arr
=
$this
->
refundBin
(
$agent_id
,
$agent_name
,
$report_id
,
$order_id
,
$order_no
,
$refund_money
,
$name
,
...
@@ -176,10 +176,10 @@ class PayLogService
...
@@ -176,10 +176,10 @@ class PayLogService
$insert_id
=
$this
->
oRefundModel
->
addRefund
(
$arr
);
$insert_id
=
$this
->
oRefundModel
->
addRefund
(
$arr
);
}
else
{
}
else
{
$insert_id
=
$this
->
oRefundModel
->
updateRefund
(
$arr
);
$insert_id
=
$this
->
oRefundModel
->
updateRefund
(
$arr
);
$insert_id
=
$refund_id
;
}
}
if
(
$insert_id
>
0
&&
$remark_img
)
{
if
(
$insert_id
>
0
&&
$remark_img
)
{
$insert_id
=
$refund_id
;
$this
->
addOImg
(
$insert_id
,
3
,
$remark_img
);
$this
->
addOImg
(
$insert_id
,
3
,
$remark_img
);
if
(
$del_img
){
if
(
$del_img
){
$this
->
delOImg
(
3
,
$del_img
);
$this
->
delOImg
(
3
,
$del_img
);
...
...
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