update
This commit is contained in:
@@ -28,7 +28,7 @@ public class APIFilter implements Filter {
|
||||
//((HttpServletResponse)servletResponse).sendRedirect("/");
|
||||
//return;
|
||||
}
|
||||
if (token!=null&&keyDao.selectByKey(token)!=null) {
|
||||
if (token==null||keyDao.selectByKey(token)==null) {
|
||||
System.out.println("token验证不通过:" + token);
|
||||
//return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user