|
@@ -44,7 +44,7 @@ public class PayController {
|
|
|
private final OrderService orderService;
|
|
|
private final RefundDeliveryService refundDeliveryService;
|
|
|
private final WxProviderService wxProviderService;
|
|
|
- private final String notifyUrl="http://he56cd66.natappfree.cc";
|
|
|
+ private final String baseNotifyUrl ="http://he56cd66.natappfree.cc";
|
|
|
|
|
|
|
|
|
@SneakyThrows
|
|
@@ -103,7 +103,7 @@ public class PayController {
|
|
|
po.setTotal(1);
|
|
|
po.setOpenId(user.getBizUserId());
|
|
|
po.setOutTradeNo(payInfo.getPayNo());
|
|
|
- po.setNotifyUrl(getNotifyUrl(notifyUrl));
|
|
|
+ po.setNotifyUrl(getNotifyUrl(baseNotifyUrl));
|
|
|
return ResponseEntity.ok(wxProviderService.subJsapi(po));
|
|
|
}
|
|
|
|
|
@@ -121,7 +121,7 @@ public class PayController {
|
|
|
po.setTotal((int) Arith.mul(refundDelivery.getPrice(), 100));
|
|
|
po.setOpenId(SecurityUtils.getUser().getBizUserId());
|
|
|
po.setOutTradeNo("refundSn" + payParam.getOrderNumbers());
|
|
|
- po.setNotifyUrl(getNotifyUrl(notifyUrl));
|
|
|
+ po.setNotifyUrl(getNotifyUrl(baseNotifyUrl));
|
|
|
return ResponseEntity.ok(wxProviderService.subJsapi(po));
|
|
|
}
|
|
|
|