修改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参数缺失"); 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;
} }