提交代码

2.0-dev
胡锐 5 months ago
parent dc21a1df53
commit 355850ae85
  1. 2
      hai-service/src/main/java/com/hai/pay/channel/huift/TradeService.java

@ -46,7 +46,7 @@ public class TradeService {
param.put("callbackUrl", CommonSysConst.getSysConfig().getHsgDomainName() + "/order/payNotify/huiftPay"); param.put("callbackUrl", CommonSysConst.getSysConfig().getHsgDomainName() + "/order/payNotify/huiftPay");
// param.put("remark", ""); // 备注 // param.put("remark", ""); // 备注
// param.put("outAppId", ""); // param.put("outAppId", "");
param.put("outRedirectPath", CommonSysConst.getSysConfig().getHsgDomainName()+"/phg/#/physical-merchants/classify/goodsDetail/goodsDetail?goodsId=" + order.getOrderNo()); param.put("outRedirectPath", CommonSysConst.getSysConfig().getHsgDomainName()+"/phg/#/pages/user/order_list/order_list?tbIndex=-1");
param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, HuiftConfig.signSecret).getBytes()).toLowerCase()); param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, HuiftConfig.signSecret).getBytes()).toLowerCase());
JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPreOrder", JSONObject.toJSONString(param)); JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPreOrder", JSONObject.toJSONString(param));
if (response.getString("status").equals("ok")) { if (response.getString("status").equals("ok")) {

Loading…
Cancel
Save