From 3ff5f8eb05c1861412fa38afd1babb0212b5b249 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Fri, 29 Oct 2021 14:43:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cweb/controller/OutRechargeOrderController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java b/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java index 36734a1f..414fb54a 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java @@ -263,7 +263,7 @@ public class OutRechargeOrderController { weChatPayReqInfo.setAppid(SysConst.getSysConfig().getWxMchAppId()); //公众号id weChatPayReqInfo.setMch_id(SysConst.getSysConfig().getWxMchId()); //商户号 weChatPayReqInfo.setSub_appid(SysConst.getSysConfig().getWxSubAppId()); //商户号 - weChatPayReqInfo.setSub_mch_id(SysConst.getSysConfig().getWxSubMchId()); //子商户号 + weChatPayReqInfo.setSub_mch_id("1614670195"); //子商户号 // weChatPayReqInfo.setOpenid(openId); weChatPayReqInfo.setSub_openid(openId); @@ -275,7 +275,7 @@ public class OutRechargeOrderController { weChatPayReqInfo.setNotify_url(SysConst.getSysConfig().getNotifyUrl()); //通知url weChatPayReqInfo.setTrade_type("JSAPI"); //交易类型 weChatPayReqInfo.setAttach(map.get("orderScene").toString()); - weChatPayReqInfo.setProfit_sharing("Y"); + weChatPayReqInfo.setProfit_sharing("N"); //附加数据,区分订单类型 Map payMap = new HashMap<>(); @@ -290,7 +290,6 @@ public class OutRechargeOrderController { } } - @RequestMapping(value="/hltUnionCardPay",method = RequestMethod.POST) @ResponseBody @ApiOperation(value = "工会卡支付")