|
|
@ -370,7 +370,7 @@ public class OutRechargeOrderController { |
|
|
|
param.put("mch_id", "1289663601"); |
|
|
|
param.put("mch_id", "1289663601"); |
|
|
|
//param.put("sub_mch_id" , "1289663601");
|
|
|
|
//param.put("sub_mch_id" , "1289663601");
|
|
|
|
param.put("sub_mch_id" , "1609882817"); // 个体户黎杨珍
|
|
|
|
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("out_order_no" , String.valueOf(new Date().getTime())); |
|
|
|
param.put("nonce_str" , WxUtils.makeNonStr()); |
|
|
|
param.put("nonce_str" , WxUtils.makeNonStr()); |
|
|
|
|
|
|
|
|
|
|
@ -388,9 +388,10 @@ public class OutRechargeOrderController { |
|
|
|
List<Map<String,Object>> receiversList = new ArrayList<>(); |
|
|
|
List<Map<String,Object>> receiversList = new ArrayList<>(); |
|
|
|
Map<String,Object> receiversMap = new LinkedHashMap<>(); |
|
|
|
Map<String,Object> receiversMap = new LinkedHashMap<>(); |
|
|
|
receiversMap.put("type", "MERCHANT_ID"); |
|
|
|
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("amount", profitSharingAmount.multiply(new BigDecimal("100")).intValue()); |
|
|
|
receiversMap.put("description", "分给商户【个体户方涛】"); |
|
|
|
receiversMap.put("description", "分给商户【重庆慧听石化有限责任公司】"); |
|
|
|
receiversList.add(receiversMap); |
|
|
|
receiversList.add(receiversMap); |
|
|
|
param.put("receivers" , JSONObject.toJSONString(receiversList)); |
|
|
|
param.put("receivers" , JSONObject.toJSONString(receiversList)); |
|
|
|
String signStr = WxUtils.generateSignature(param, "Skufk5oi85wDFGl888i6wsRSTkdd5df5" , WXPayConstants.SignType.HMACSHA256); |
|
|
|
String signStr = WxUtils.generateSignature(param, "Skufk5oi85wDFGl888i6wsRSTkdd5df5" , WXPayConstants.SignType.HMACSHA256); |
|
|
|