| | |
| | | Assert.jsonObjectHaveKey(paramIn, "receivedAmount", "请求报文中未包含receivedAmount节点"); |
| | | Assert.jsonObjectHaveKey(paramIn, "feeId", "请求报文中未包含feeId节点"); |
| | | Assert.jsonObjectHaveKey(paramIn, "feeName", "请求报文中未包含feeName节点"); |
| | | Assert.jsonObjectHaveKey(paramIn, "appId", "请求报文中未包含appId节点"); |
| | | |
| | | } |
| | | |
| | |
| | | JSONObject realUserInfo = userResult.getJSONArray("users").getJSONObject(0); |
| | | |
| | | String openId = realUserInfo.getString("openId"); |
| | | String payAppId = orderInfo.getString("payAppId"); |
| | | String payMchId = orderInfo.getString("payMchId"); |
| | | |
| | | //微信下单PayUtil |
| | | Map result = super.java110Payment(outRestTemplate,paramIn.getString("feeName"),paramIn.getString("tradeType"), orderId, money, openId); |
| | | |
| | | Map result = super.java110Payment(outRestTemplate,paramIn.getString("feeName"),paramIn.getString("tradeType"), orderId, money, openId,payAppId,payMchId); |
| | | responseEntity = new ResponseEntity(JSONObject.toJSONString(result), HttpStatus.OK); |
| | | |
| | | return responseEntity; |