Commit 1bb64f40 authored by hezhen's avatar hezhen

123

parent 6bd2c86a
......@@ -59,7 +59,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
return true;
}
String redisKey=redisInfo(request);
Map<String,Object> result=new HashMap<>();
JSONObject result=new JSONObject();
JSONObject json = new JSONObject();
if (StringUtils.isNotBlank(redisKey)){
json.put("key",redisKey);
......@@ -69,7 +69,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
result.put("status",1001);
response.setCharacterEncoding("utf-8");
response.setContentType("application/json; charset=utf-8");
response.getWriter().write(result.toString());
response.getWriter().append(result.toString());
return false;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment