| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public String confirmPayFee(String param) { |
| | | public String confirmPayFee(String param, String wId) { |
| | | JSONObject resJson = new JSONObject(); |
| | | resJson.put("result_code", "010002"); |
| | | resJson.put("result_msg", "失败"); |
| | |
| | | String resultCode = map.getString("result_code"); |
| | | if ("000000".equals(resultCode)) { |
| | | //更新数据 |
| | | int result = confirmPayFee(map); |
| | | int result = confirmPayFee(map, wId); |
| | | if (result > 0) { |
| | | //支付成功 |
| | | resJson.put("result_code", "000000"); |
| | |
| | | } |
| | | |
| | | |
| | | public int confirmPayFee(JSONObject map) { |
| | | String wId = map.get("wId").toString(); |
| | | public int confirmPayFee(JSONObject map, String wId) { |
| | | wId = wId.replace(" ", "+"); |
| | | ResponseEntity<String> responseEntity = null; |
| | | |