| | |
| | | |
| | | public ResultVo sendApiPost(PayReqData payReqData) throws IOException { |
| | | |
| | | //正式 |
| | | String proUrl = "http://finpt.xjcz.gov.cn/fs-service/fs-pay/invoice.do"; |
| | | //测试 |
| | | String testUrl = "http://finpt.xjcz.gov.cn/fs-service-test/fs-pay/invoice.do"; |
| | | |
| | | Map<String, String> param = new HashMap<>(); |
| | | |
| | | HttpPost httpPost = new HttpPost(orderUrl); |
| | |
| | | |
| | | //缴费结果查询 |
| | | public JSONObject query(String orderNo) throws IOException { |
| | | String proUrl = "http://finpt.xjcz.gov.cn/fs-service/fs-pay/query.do"; |
| | | String testUrl = "http://finpt.xjcz.gov.cn/fs-service-test/fs-pay/query.do"; |
| | | |
| | | HashMap<String, String> param = new HashMap<>(); |
| | | |
| | | JSONObject jsonObject = new JSONObject(); |