飞书消息推送-修改

This commit is contained in:
liyawei
2022-03-10 15:44:20 +08:00
parent bf2e8cf916
commit e313f96406
4 changed files with 18 additions and 11 deletions
@@ -62,7 +62,7 @@ public class HttpRequestUtil {
RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(20000000).setSocketTimeout(200000000).build();
HttpPost httpPost = new HttpPost(url);
httpPost.setConfig(requestConfig);
httpPost.setEntity(new StringEntity(body));
httpPost.setEntity(new StringEntity(body,"utf-8"));
if (headerMap != null) {
Iterator var38 = headerMap.entrySet().iterator();