修改h5链接

This commit is contained in:
TinyAnts 2023-03-31 18:39:36 +08:00
parent 05af28cf4d
commit 3a379a2bf4
1 changed files with 3 additions and 3 deletions

View File

@ -172,9 +172,9 @@ public class PayServiceImpl implements IPayService {
Assert.notNull(params.getRedirectUrl(), "redirectUrl参数缺失");
Map<String, String> map = new LinkedHashMap<>();
String h5Url = result.toString();
String redirectUrl = RequestUtils.uri() + params.getRedirectUrl();
redirectUrl += "?checkPay=true&scene="+params.getAttach()+"&orderId="+params.getOrderId();
h5Url += "&redirect_url="+redirectUrl;
// String redirectUrl = RequestUtils.uri() + params.getRedirectUrl();
// redirectUrl += "?checkPay=true&scene="+params.getAttach()+"&orderId="+params.getOrderId();
// h5Url += "&redirect_url="+redirectUrl;
map.put("url", h5Url);
return map;
}