|
|
@ -418,7 +418,6 @@ public class OrderPayController { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// weChatPayReqInfo.setOpenid(openId);
|
|
|
|
// weChatPayReqInfo.setOpenid(openId);
|
|
|
|
weChatPayReqInfo.setSub_openid(body.getString("openId")); |
|
|
|
weChatPayReqInfo.setSub_openid(body.getString("openId")); |
|
|
|
weChatPayReqInfo.setNonce_str(nonce_str); // 随机字符串
|
|
|
|
weChatPayReqInfo.setNonce_str(nonce_str); // 随机字符串
|
|
|
@ -435,8 +434,6 @@ public class OrderPayController { |
|
|
|
|
|
|
|
|
|
|
|
SortedMap<Object, Object> sortedMap; |
|
|
|
SortedMap<Object, Object> sortedMap; |
|
|
|
|
|
|
|
|
|
|
|
System.out.println("-----------------------" + payPlatformType); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (payPlatformType == 2) { |
|
|
|
if (payPlatformType == 2) { |
|
|
|
objectGas.put("outTradeNo" , order.getOrderNo()); |
|
|
|
objectGas.put("outTradeNo" , order.getOrderNo()); |
|
|
|
objectGas.put("transType" , "JSAPI"); |
|
|
|
objectGas.put("transType" , "JSAPI"); |
|
|
|