update
This commit is contained in:
parent
6b5d50dd40
commit
6cdb5976b5
2
pom.xml
2
pom.xml
@ -10,7 +10,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<groupId>com.yutou</groupId>
|
<groupId>com.yutou</groupId>
|
||||||
<artifactId>tools</artifactId>
|
<artifactId>tools</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.3</version>
|
||||||
<name>tools</name>
|
<name>tools</name>
|
||||||
<description>Demo project for Spring Boot</description>
|
<description>Demo project for Spring Boot</description>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ public class APIFilter implements Filter {
|
|||||||
//((HttpServletResponse)servletResponse).sendRedirect("/");
|
//((HttpServletResponse)servletResponse).sendRedirect("/");
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
if (token!=null&&keyDao.selectByKey(token)!=null) {
|
if (token==null||keyDao.selectByKey(token)==null) {
|
||||||
System.out.println("token验证不通过:" + token);
|
System.out.println("token验证不通过:" + token);
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user