修改支付宝支付 地址
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user