Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e6543f93
authored
Nov 30, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款回调问题修复
parent
1941d1f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/payment/AbstractPaymentService.java
src/main/java/com/ctrip/fun/golf/service/payment/AbstractPaymentService.java
View file @
e6543f93
...
...
@@ -184,9 +184,9 @@ public abstract class AbstractPaymentService<T extends AbstractOrder> extends Co
//uri.order.list=/fun-golf-service/{orderType}/list
String
refoundNotifyUrl
=
""
;
if
(
order
.
getOrderCategory
()==
1
){
weiXinRefoundNotifyUrl
.
replace
(
"{orderType}"
,
"courseOrder"
);
refoundNotifyUrl
=
weiXinRefoundNotifyUrl
.
replace
(
"{orderType}"
,
"courseOrder"
);
}
else
if
(
order
.
getOrderCategory
()==
14
){
weiXinRefoundNotifyUrl
.
replace
(
"{orderType}"
,
"eventActivityOrder"
);
refoundNotifyUrl
=
weiXinRefoundNotifyUrl
.
replace
(
"{orderType}"
,
"eventActivityOrder"
);
}
WeiXinAtcion
.
wechatRefund
(
order
.
getOrderNo
()+
""
,
order
.
getAmount
().
subtract
(
order
.
getVoucherAmount
()).
subtract
(
order
.
getPrePayCardAmount
()).
multiply
(
new
BigDecimal
(
"100"
)).
intValue
(),
paymentOperateBean
.
getAmount
().
multiply
(
new
BigDecimal
(
"100"
)).
intValue
(),
refoundNotifyUrl
);
PayOrderOperateResponseBean
payBean
=
new
PayOrderOperateResponseBean
();
...
...
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