越城区测试token拼接失败问题
This commit is contained in:
parent
2214d86ee0
commit
5d68660e1b
|
@ -1876,6 +1876,15 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
|
|||
entity.setContentType("application/json");
|
||||
post.setEntity(entity);
|
||||
}
|
||||
if (headers != null && headers.size() > 0) {
|
||||
StringBuffer stringBuffer = new StringBuffer();
|
||||
for (String key : headers.keySet()) {
|
||||
stringBuffer.append(key).append("=").append(headers.get(key)).append("&");
|
||||
}
|
||||
logger.info("转发接口发送header信息:"+ stringBuffer);
|
||||
}
|
||||
logger.info("转发接口发送bodys信息:"+ bodys);
|
||||
|
||||
response = closeableHttpClient.execute(post);
|
||||
|
||||
HttpEntity entity = response.getEntity();
|
||||
|
|
Loading…
Reference in New Issue