袁野 5 months ago
parent dc21a1df53
commit 958f63acf1
  1. 3
      hai-order/src/main/java/com/web/controller/OrderPayController.java
  2. 1
      hai-service/src/main/java/com/hai/common/utils/WxUtils.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<Object, Object> sortedMap;
System.out.println("-----------------------" + payPlatformType);
if (payPlatformType == 2) {
objectGas.put("outTradeNo" , order.getOrderNo());
objectGas.put("transType" , "JSAPI");

@ -480,7 +480,6 @@ public class WxUtils {
Set<String> 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)) {

Loading…
Cancel
Save