|
|
@@ -159,8 +159,10 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
|
|
|
//页面 拼接订单号,前端从url获取订单id.
|
|
|
returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.SUCCESS_URL) + orderDon.getId();
|
|
|
} else {
|
|
|
- //默认跳转页
|
|
|
- returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.DEFAULT_URL);
|
|
|
+ if (StrUtil.isEmpty(returnUrl)) {
|
|
|
+ //默认跳转页
|
|
|
+ returnUrl = String.format("%s%s", envCommonService.getDomain(), BaseZfbConfig.DEFAULT_URL);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
AliPayParams aliPayParams = builderPayParams(orderDon.getId(),
|