修改h5链接
This commit is contained in:
parent
05af28cf4d
commit
3a379a2bf4
|
|
@ -172,9 +172,9 @@ public class PayServiceImpl implements IPayService {
|
||||||
Assert.notNull(params.getRedirectUrl(), "redirectUrl参数缺失");
|
Assert.notNull(params.getRedirectUrl(), "redirectUrl参数缺失");
|
||||||
Map<String, String> map = new LinkedHashMap<>();
|
Map<String, String> map = new LinkedHashMap<>();
|
||||||
String h5Url = result.toString();
|
String h5Url = result.toString();
|
||||||
String redirectUrl = RequestUtils.uri() + params.getRedirectUrl();
|
// String redirectUrl = RequestUtils.uri() + params.getRedirectUrl();
|
||||||
redirectUrl += "?checkPay=true&scene="+params.getAttach()+"&orderId="+params.getOrderId();
|
// redirectUrl += "?checkPay=true&scene="+params.getAttach()+"&orderId="+params.getOrderId();
|
||||||
h5Url += "&redirect_url="+redirectUrl;
|
// h5Url += "&redirect_url="+redirectUrl;
|
||||||
map.put("url", h5Url);
|
map.put("url", h5Url);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue