提交代码

master
胡锐 2 months ago
parent 265fe58b1d
commit 6a9c160ba3
  1. 2
      service/src/main/java/com/hfkj/service/pay/huift/TradeService.java

@ -46,7 +46,7 @@ public class TradeService {
param.put("callbackUrl", CommonSysConst.getSysConfig().getDomainName() + "/order/notify/huiftPay"); param.put("callbackUrl", CommonSysConst.getSysConfig().getDomainName() + "/order/notify/huiftPay");
// param.put("remark", ""); // 备注 // param.put("remark", ""); // 备注
// param.put("outAppId", ""); // param.put("outAppId", "");
param.put("outRedirectPath", CommonSysConst.getSysConfig().getDomainName()+"/cweb/#/order/order/orderList"); param.put("outRedirectPath", CommonSysConst.getSysConfig().getDomainName()+"/outside/#/order/order/orderList");
param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, signSecret).getBytes()).toLowerCase()); param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, 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