From 958f63acf15b0fae95624aabd75b81997c00ee77 Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Fri, 21 Jun 2024 16:27:44 +0800 Subject: [PATCH] 1 --- .../src/main/java/com/web/controller/OrderPayController.java | 3 --- hai-service/src/main/java/com/hai/common/utils/WxUtils.java | 1 - 2 files changed, 4 deletions(-) diff --git a/hai-order/src/main/java/com/web/controller/OrderPayController.java b/hai-order/src/main/java/com/web/controller/OrderPayController.java index c856726e..9f2176bf 100644 --- a/hai-order/src/main/java/com/web/controller/OrderPayController.java +++ b/hai-order/src/main/java/com/web/controller/OrderPayController.java @@ -418,7 +418,6 @@ public class OrderPayController { } } - // weChatPayReqInfo.setOpenid(openId); weChatPayReqInfo.setSub_openid(body.getString("openId")); weChatPayReqInfo.setNonce_str(nonce_str); // 随机字符串 @@ -435,8 +434,6 @@ public class OrderPayController { SortedMap sortedMap; - System.out.println("-----------------------" + payPlatformType); - if (payPlatformType == 2) { objectGas.put("outTradeNo" , order.getOrderNo()); objectGas.put("transType" , "JSAPI"); diff --git a/hai-service/src/main/java/com/hai/common/utils/WxUtils.java b/hai-service/src/main/java/com/hai/common/utils/WxUtils.java index 0bbd1879..282810b1 100644 --- a/hai-service/src/main/java/com/hai/common/utils/WxUtils.java +++ b/hai-service/src/main/java/com/hai/common/utils/WxUtils.java @@ -480,7 +480,6 @@ public class WxUtils { Set keySet = data.keySet(); String[] keyArray = keySet.toArray(new String[keySet.size()]); -// Arrays.sort(keyArray); StringBuilder sb = new StringBuilder(); for (String k : keyArray) { if (k.equals(WXPayConstants.FIELD_SIGN)) {