Commit 1e4cfb546083317602de8eeb73ac5aae9e426cea
1 parent
d9b9a4e675
Exists in
master
and in
1 other branch
获取专家组\客服人员信息
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ChatGroupController.java
View file @
1e4cfb5
... | ... | @@ -195,7 +195,7 @@ |
195 | 195 | JSONArray rs=new JSONArray(); |
196 | 196 | try { |
197 | 197 | request.setCharacterEncoding("utf-8"); |
198 | - String res=IOUtils.toString(request.getInputStream()); | |
198 | + String res=IOUtils.toString(request.getInputStream(),Charset.forName("UTF-8")); | |
199 | 199 | log.info(res); |
200 | 200 | JSONObject jsonObject= JSON.parseObject(res); |
201 | 201 | JSONArray channel_infos=jsonObject.getJSONArray("channel_infos"); |