| | |
| | | package com.vci.rmip.code.client.codeapply.Apply410.utils; |
| | | import com.alibaba.cloud.commons.lang.StringUtils; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.nacos.shaded.com.google.gson.JsonObject; |
| | | import com.vci.rmip.code.client.codeapply.Apply410.object.R; |
| | | |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.apache.http.*; |
| | | import org.apache.http.client.ClientProtocolException; |
| | | import org.apache.http.client.entity.UrlEncodedFormEntity; |
| | |
| | | * 添加请求头信息 |
| | | */ |
| | | if(headers!=null&&headers.size()>0) { |
| | | for (Map.Entry<String, String> entry : params.entrySet()) { |
| | | for (Map.Entry<String, String> entry : headers.entrySet()) { |
| | | httpGet.addHeader(entry.getKey(), entry.getValue()); |
| | | } |
| | | } |