mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-18 00:38:33 +08:00
update 汇付退款
This commit is contained in:
@@ -154,6 +154,7 @@ public class SpringBootTestController {
|
|||||||
Map<String, Object> refundParams = Maps.newHashMap();
|
Map<String, Object> refundParams = Maps.newHashMap();
|
||||||
refundParams.put("refund_amt", AdapayUtil.formatAmount(refundAmount));
|
refundParams.put("refund_amt", AdapayUtil.formatAmount(refundAmount));
|
||||||
refundParams.put("refund_order_no", SnowflakeIdWorker.getSnowflakeId());
|
refundParams.put("refund_order_no", SnowflakeIdWorker.getSnowflakeId());
|
||||||
|
refundParams.put("notify_url", "https://api.jsowellcloud.com/uniapp/pay/adapayRefundCallback");
|
||||||
Map<String, Object> response = Refund.create(id, refundParams);
|
Map<String, Object> response = Refund.create(id, refundParams);
|
||||||
System.out.println(JSON.toJSONString(response));
|
System.out.println(JSON.toJSONString(response));
|
||||||
// if (response != null && !response.isEmpty()) {
|
// if (response != null && !response.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user