🎨 优化重构微信小程序订阅消息模板设置相关方法

This commit is contained in:
Binary Wang
2019-12-20 16:56:12 +08:00
parent 5f9c813b4e
commit 9c58930719
5 changed files with 20 additions and 14 deletions

View File

@@ -36,6 +36,7 @@ public class ApacheSimplePostRequestExecutor extends SimplePostRequestExecutor<C
if (postEntity != null) {
StringEntity entity = new StringEntity(postEntity, Consts.UTF_8);
entity.setContentType("application/json; charset=utf-8");
httpPost.setEntity(entity);
}