|
@@ -49,7 +49,7 @@ public class TokenInterceptor implements HandlerInterceptor {
|
|
|
|
|
|
private void needLogin(HttpServletRequest request, HttpServletResponse response) {
|
|
|
try {
|
|
|
- String result = JSONObject.toJSONString(ResultData.ok(ResultCode.USER_NOT_LOGIN));
|
|
|
+ String result = JSONObject.toJSONString(ResultData.error(ResultCode.USER_NOT_LOGIN));
|
|
|
response.getWriter().append(result);
|
|
|
} catch (IOException e) {
|
|
|
log.info("LoginInterceptor|needLogin|IOException|" + e);
|