| | |
| | | package com.hx.corp.util; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.hx.util.corp.entity.AppLetInfo; |
| | | import com.hx.corp.entity.CorpPayRequest; |
| | | import com.hx.corp.entity.CorpPayResponse; |
| | | import com.hx.exception.ServiceException; |
| | | import com.hx.mp.util.*; |
| | | import com.hx.util.HttpMethodUtil; |
| | | import com.hx.util.SimpleTool; |
| | | import com.hx.util.StringUtils; |
| | | import net.sf.json.JSONObject; |
| | |
| | | try { |
| | | CloseableHttpResponse response = HttpUtil.Post(CORP_PAY_URL, xmlInfo, true, certPath, corpPayRequest.getMchid()); |
| | | String transfersXml = EntityUtils.toString(response.getEntity(), "utf-8"); |
| | | System.out.println("渠道端企业付款:" + transfersXml); |
| | | |
| | | //Map<String, String> transferMap = HttpXmlUtils.parseRefundXml(transfersXml); |
| | | |