袁野 2 months ago
parent c68e2d6b08
commit db24c7231d
  1. 5
      service/src/main/java/com/hfkj/service/order/OrderPaySuccessService.java
  2. 2
      service/src/main/java/com/hfkj/yushang/YuShangService.java

@ -119,11 +119,12 @@ public class OrderPaySuccessService {
Map<String , Object> map = new HashMap<>();
map.put("productCode" , vpd.getKey());
map.put("AppKey" , CommonSysConst.getSysConfig().getYuShangAppKey());
map.put("BuyCount" , childOrder.getProductCount());
map.put("MOrderID" , childOrder.getChildOrderNo());
map.put("ChargeAccount" , childOrder.getChildOrderNo());
// 推送给汇联通 todo dingdan shangsong
// JSONObject returnParam = YuShangService.insertV2(couponNo.getChannelOrderNo());
// 推送给娱尚
YuShangService.insertV2(map);
} else if (vpd.getSource() == GoodsVpdSourceEnum.type4.getCode()) {
// 推送给汇联通

@ -71,7 +71,7 @@ public class YuShangService {
param.put("AppKey", CommonSysConst.getSysConfig().getYuShangAppKey());
param.put("timestamp", new Date().getTime());
param.put("CustomerIP", "127.0.0.1");
param.put("sign", MD5Util.encode(GenerateSign.paramSortYuShang(param,CommonSysConst.getSysConfig().getQianZhuSecret()).getBytes()).toLowerCase());
param.put("sign", MD5Util.encode(GenerateSign.paramSortYuShang(param,CommonSysConst.getSysConfig().getYuShangAppSecret()).getBytes()).toLowerCase());
log.info("请求接口:" + postUrl);
log.info("请求参数:" + JSONObject.toJSONString(param));

Loading…
Cancel
Save