|
|
@@ -122,8 +122,10 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
|
|
|
//回调地址
|
|
|
String host = envCommonService.getHost();
|
|
|
String notifyUrl = String.format("%s%s", host, BaseZfbConfig.notifyUrl);
|
|
|
+ //手机h5 pc网站跳转
|
|
|
if (ZfbProductCode.MOBILE_WEB.getProductCode().equals(productCode) && BaseZfbConfig.qrPayMode_redirect.equals(payMode)) {
|
|
|
- returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.loginReturnUrl);
|
|
|
+ //页面 拼接订单号,前端从url获取订单id.
|
|
|
+ returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.SUCCESS_URL) + orderDon.getId();
|
|
|
}
|
|
|
AliPayParams aliPayParams = builderPayParams(orderDon.getId(),
|
|
|
orderDon.getOrderNo(),
|