提交代码

dev-discount
胡锐 3 years ago
parent e516380bda
commit 3ff5f8eb05
  1. 5
      hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java

@ -263,7 +263,7 @@ public class OutRechargeOrderController {
weChatPayReqInfo.setAppid(SysConst.getSysConfig().getWxMchAppId()); //公众号id weChatPayReqInfo.setAppid(SysConst.getSysConfig().getWxMchAppId()); //公众号id
weChatPayReqInfo.setMch_id(SysConst.getSysConfig().getWxMchId()); //商户号 weChatPayReqInfo.setMch_id(SysConst.getSysConfig().getWxMchId()); //商户号
weChatPayReqInfo.setSub_appid(SysConst.getSysConfig().getWxSubAppId()); //商户号 weChatPayReqInfo.setSub_appid(SysConst.getSysConfig().getWxSubAppId()); //商户号
weChatPayReqInfo.setSub_mch_id(SysConst.getSysConfig().getWxSubMchId()); //子商户号 weChatPayReqInfo.setSub_mch_id("1614670195"); //子商户号
// weChatPayReqInfo.setOpenid(openId); // weChatPayReqInfo.setOpenid(openId);
weChatPayReqInfo.setSub_openid(openId); weChatPayReqInfo.setSub_openid(openId);
@ -275,7 +275,7 @@ public class OutRechargeOrderController {
weChatPayReqInfo.setNotify_url(SysConst.getSysConfig().getNotifyUrl()); //通知url weChatPayReqInfo.setNotify_url(SysConst.getSysConfig().getNotifyUrl()); //通知url
weChatPayReqInfo.setTrade_type("JSAPI"); //交易类型 weChatPayReqInfo.setTrade_type("JSAPI"); //交易类型
weChatPayReqInfo.setAttach(map.get("orderScene").toString()); weChatPayReqInfo.setAttach(map.get("orderScene").toString());
weChatPayReqInfo.setProfit_sharing("Y"); weChatPayReqInfo.setProfit_sharing("N");
//附加数据,区分订单类型 //附加数据,区分订单类型
Map<String,String> payMap = new HashMap<>(); Map<String,String> payMap = new HashMap<>();
@ -290,7 +290,6 @@ public class OutRechargeOrderController {
} }
} }
@RequestMapping(value="/hltUnionCardPay",method = RequestMethod.POST) @RequestMapping(value="/hltUnionCardPay",method = RequestMethod.POST)
@ResponseBody @ResponseBody
@ApiOperation(value = "工会卡支付") @ApiOperation(value = "工会卡支付")

Loading…
Cancel
Save