修改支付宝支付 地址

This commit is contained in:
2024-09-18 17:48:29 +08:00
parent 53597281d9
commit 46205fb7ce
2 changed files with 2 additions and 2 deletions

View File

@@ -1928,7 +1928,7 @@ public class PayService {
String reqbody = "店铺收款码";
if("WECHAT".equals(payType)){
if("WECHAT".equals(payType) || "ALIPAY".equals(payType)){
PublicResp<JspayResp> publicResp = thirdPayService.jspay(url, thirdApply.getAppId(), thirdApply.getAppToken(),
reqbody, reqbody, orderInfo.getOrderAmount().multiply(new BigDecimal(100)).longValue(),
payType, thirdApply.getSmallAppid(), userId, ip,

View File

@@ -411,7 +411,7 @@ public class ThirdPayService {
param.setSign(sign);
String reqbody = JSONUtil.toJSONString(param);
log.info("请求参数:{}", reqbody);
String response = HttpRequest.post(url.concat(h5pay)).body(reqbody).execute().body();
String response = HttpRequest.post(url.concat(apppay)).body(reqbody).execute().body();
log.info("返回结果:{}", response);
PublicResp<ApppayResp> resp =JSONUtil.parseJSONStr2T(response,PublicResp.class);
resp.setObjData(JSONUtil.parseJSONStr2T(resp.getBizData(),ApppayResp.class));