From 7482b3666a74a65c6225121ef0bd89b710f0a0dc Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Thu, 17 Jun 2021 10:45:03 +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 --- .../com/cweb/controller/OutRechargeOrderController.java | 7 ++++--- .../com/hai/service/pay/impl/GoodsOrderServiceImpl.java | 4 ++-- 2 files changed, 6 insertions(+), 5 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 4b9f5567..c6f8abce 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/OutRechargeOrderController.java @@ -370,7 +370,7 @@ public class OutRechargeOrderController { param.put("mch_id", "1289663601"); //param.put("sub_mch_id" , "1289663601"); param.put("sub_mch_id" , "1609882817"); // 个体户黎杨珍 - param.put("transaction_id" , "4200001152202106114622919776"); + param.put("transaction_id" , "4200001148202106176001512773"); param.put("out_order_no" , String.valueOf(new Date().getTime())); param.put("nonce_str" , WxUtils.makeNonStr()); @@ -388,9 +388,10 @@ public class OutRechargeOrderController { List> receiversList = new ArrayList<>(); Map receiversMap = new LinkedHashMap<>(); receiversMap.put("type", "MERCHANT_ID"); - receiversMap.put("account", "1604968055");// 个体户方涛 + // receiversMap.put("account", "1604968055");// 个体户方涛 + receiversMap.put("account", "1603942866"); // 重庆慧听石化有限责任公司 receiversMap.put("amount", profitSharingAmount.multiply(new BigDecimal("100")).intValue()); - receiversMap.put("description", "分给商户【个体户方涛】"); + receiversMap.put("description", "分给商户【重庆慧听石化有限责任公司】"); receiversList.add(receiversMap); param.put("receivers" , JSONObject.toJSONString(receiversList)); String signStr = WxUtils.generateSignature(param, "Skufk5oi85wDFGl888i6wsRSTkdd5df5" , WXPayConstants.SignType.HMACSHA256); diff --git a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java index 3f1d5dd1..79747f67 100644 --- a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java @@ -167,9 +167,9 @@ public class GoodsOrderServiceImpl implements PayService { List> receiversList = new ArrayList<>(); Map receiversMap = new LinkedHashMap<>(); receiversMap.put("type", "MERCHANT_ID"); - receiversMap.put("account", "1604968055"); + receiversMap.put("account", "1603942866"); receiversMap.put("amount", porofitSharingAmount.multiply(new BigDecimal("100")).intValue()); - receiversMap.put("description", "分给商户【个体户方涛】"); + receiversMap.put("description", "分给商户【重庆慧听石化有限责任公司】"); receiversList.add(receiversMap); param.put("receivers" , JSONObject.toJSONString(receiversList)); String signStr = WxUtils.generateSignature(param, "Skufk5oi85wDFGl888i6wsRSTkdd5df5" , WXPayConstants.SignType.HMACSHA256);