From 172ca427ff1fe089c3bb708231a4467510145ea2 Mon Sep 17 00:00:00 2001 From: YUANYE <418471657@qq.com> Date: Mon, 7 Jun 2021 18:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cweb/controller/pay/WechatPayController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hai-cweb/src/main/java/com/cweb/controller/pay/WechatPayController.java b/hai-cweb/src/main/java/com/cweb/controller/pay/WechatPayController.java index 8747bd76..633c89e5 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/pay/WechatPayController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/pay/WechatPayController.java @@ -161,9 +161,9 @@ public class WechatPayController { try { WxSharingReceiversVO receiversVO = new WxSharingReceiversVO(); - receiversVO.setAccount("1603942866"); + receiversVO.setAccount("1609882817"); receiversVO.setType("MERCHANT_ID"); - receiversVO.setName("重庆惠昕石化有限责任公司"); + receiversVO.setName("嗨加油"); receiversVO.setRelation_type("SERVICE_PROVIDER"); Map map = new HashMap<>(); @@ -174,7 +174,7 @@ public class WechatPayController { map.put("sign_type" , "HMAC-SHA256"); map.put("receiver" , JSONObject.toJSONString(receiversVO)); - String sign = WxUtils.generateSignature(map, "aSDGSrthkiDf8558wRKfd57S875S4DHF" , WXPayConstants.SignType.HMACSHA256); + String sign = WxUtils.generateSignature(map, "Skufk5oi85wDFGl888i6wsRSTkdd5df5" , WXPayConstants.SignType.HMACSHA256); map.put("sign" , sign);