提交 7cff2339 authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 03701a6c
......@@ -148,6 +148,7 @@ public class WeChatLoginXcxController {
String body = JSON.toJSONString(params); // 必须是json模式的 post
StringEntity entity;
entity = new StringEntity(body);
entity.setContentType("text/plain; charset=utf-8");
request.setEntity(entity);
response = httpclient.execute(request);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论