Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
29ef3685
Commit
29ef3685
authored
Dec 19, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refundAmount
parent
62f73930
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
RefundService.php
application/models/Business/Order/RefundService.php
+7
-6
No files found.
application/models/Business/Order/RefundService.php
View file @
29ef3685
...
@@ -482,6 +482,7 @@ class RefundServiceModel extends \Business\AbstractModel
...
@@ -482,6 +482,7 @@ class RefundServiceModel extends \Business\AbstractModel
$refundReturnDao
->
db
->
doRollback
();
$refundReturnDao
->
db
->
doRollback
();
return
false
;
return
false
;
}
}
//$this->recordSellerLog('退款处理,退款编号:'.$refund['refund_sn']); //待确认
//$this->recordSellerLog('退款处理,退款编号:'.$refund['refund_sn']); //待确认
//记录操作日志
//记录操作日志
$sellerLogDAO
=
\DAO\SellerLogModel
::
getInstance
();
$sellerLogDAO
=
\DAO\SellerLogModel
::
getInstance
();
...
@@ -512,14 +513,14 @@ class RefundServiceModel extends \Business\AbstractModel
...
@@ -512,14 +513,14 @@ class RefundServiceModel extends \Business\AbstractModel
'refundId'
=>
$refund
[
'refund_id'
]));
'refundId'
=>
$refund
[
'refund_id'
]));
$push
->
addOneToClient
(
$pushData
);
$push
->
addOneToClient
(
$pushData
);
$push
->
sendTcpMessage
();
$push
->
sendTcpMessage
();
return
true
;
}
if
(
$refundAmount
>
$refund
[
'buyer_refund_amount'
]){
return
true
;
//showDialog('退款金额不可大于本订单支付金额','','error');
$refundReturnDao
->
db
->
doRollback
();
return
false
;
}
}
// if($refundAmount > $refund['buyer_refund_amount']){
// //showDialog('退款金额不可大于本订单支付金额','','error');
// $refundReturnDao->db->doRollback();
// return false;
// }
//以下为同意退款流程
//以下为同意退款流程
if
(
$order_info
[
'order_state'
]
==
40
){
//交易完成订单,退积分
if
(
$order_info
[
'order_state'
]
==
40
){
//交易完成订单,退积分
...
...
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