|
|
|
@@ -205,6 +205,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
// 统一下单 // 服务商模式 |
|
|
|
String noncestr = Utility.generate32UUID(); |
|
|
|
WxPayOrderSP wxPayOrderSP = new WxPayOrderSP(); |
|
|
|
wxPayOrderSP.setSub_openid(user.getOpenId()); |
|
|
|
wxPayOrderSP.setAppid(appInfo.getParentAppId()); |
|
|
|
wxPayOrderSP.setMch_id(payAccount.getMchId()); |
|
|
|
wxPayOrderSP.setSub_appid(user.getAppId()); |
|
|
|
@@ -245,7 +246,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
|
|
|
|
String timestamp = String.valueOf(Utility.getCurrentTimeStamp()); |
|
|
|
Map<String, String> sighMap = MapUtil.getOrderMap(); |
|
|
|
sighMap.put("appId", returnMap.get("appid")); |
|
|
|
sighMap.put("appId", appInfo.getAppId()); |
|
|
|
sighMap.put("timeStamp", timestamp); |
|
|
|
sighMap.put("nonceStr", noncestr); |
|
|
|
sighMap.put("package", "prepay_id=" + prepay_id); |
|
|
|
|