记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
0a1032f0
Commit
0a1032f0
authored
May 30, 2024
by
zhoujianping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.支付宝小程序退款接口增加回调地址修改
parent
8ff0b928
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
DragonOrderRefundsServiceImpl.java
...ce/dragon/service/impl/DragonOrderRefundsServiceImpl.java
+10
-10
No files found.
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/dragon/service/impl/DragonOrderRefundsServiceImpl.java
View file @
0a1032f0
...
...
@@ -613,6 +613,16 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
if
(
response
.
getFundChange
().
equals
(
"Y"
))
{
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_REFUNDED
.
getCode
();
refundAt
=
DateUtil
.
format
(
response
.
getGmtRefundPay
(),
DateUtil
.
Formatter
.
yyyyMMddHHmmss
);
//支付宝小程序全额退款不会异步通知
if
(
paymentType
.
equals
(
DragonConstant
.
REFUND_TYPE_APPLET_ALIPAY
)){
Map
<
String
,
String
>
notifyMap
=
new
HashMap
<
String
,
String
>();
notifyMap
.
put
(
"out_trade_no"
,
code
);
notifyMap
.
put
(
"trade_no"
,
response
.
getTradeNo
());
notifyMap
.
put
(
"out_biz_no"
,
refundCode
);
notifyMap
.
put
(
"gmt_refund"
,
refundAt
);
//手动触发通知
dragonOrderRefundsService
.
aliPayRefundCallBack
(
JSON
.
toJSONString
(
notifyMap
),
paymentType
);
}
}
else
{
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_REFUNDING
.
getCode
();
}
...
...
@@ -622,16 +632,6 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
new
Object
[]{
nowTime
,
refundAt
,
refundStatus
,
refundCode
},
DragonConstant
.
MysqlRedisQueueEnum
.
DRAGON_REFUND_KEY
.
getCode
()
);
//支付宝小程序全额退款不会异步通知
if
(
paymentType
.
equals
(
DragonConstant
.
REFUND_TYPE_APPLET_ALIPAY
)){
Map
<
String
,
String
>
notifyMap
=
new
HashMap
<
String
,
String
>();
notifyMap
.
put
(
"out_trade_no"
,
code
);
notifyMap
.
put
(
"trade_no"
,
response
.
getTradeNo
());
notifyMap
.
put
(
"out_biz_no"
,
refundCode
);
notifyMap
.
put
(
"gmt_refund"
,
refundAt
);
//手动触发通知
dragonOrderRefundsService
.
aliPayRefundCallBack
(
JSON
.
toJSONString
(
notifyMap
),
paymentType
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
channelDto
.
setResult
(
"exception"
);
...
...
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