token filter
This commit is contained in:
@@ -40,7 +40,7 @@ public class TokenValidateFilter implements Filter {
|
|||||||
|
|
||||||
private static List<String> patternList =
|
private static List<String> patternList =
|
||||||
|
|
||||||
Lists.newArrayList("/web/check/ok","/check/ok", "/partner/doc.html","/**/test/**",
|
Lists.newArrayList("/web/check/ok","/check/ok", "/partner/pc/doc.html","/partner/pc/v2/api-docs","/**/test/**",
|
||||||
"/**/swagger*/**",
|
"/**/swagger*/**",
|
||||||
"/**/webjars/**");
|
"/**/webjars/**");
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class TokenValidateFilter implements Filter {
|
|||||||
|
|
||||||
private static List<String> patternList =
|
private static List<String> patternList =
|
||||||
|
|
||||||
Lists.newArrayList("/web/check/ok","/check/ok", "/partner/doc.html",
|
Lists.newArrayList("/web/check/ok","/check/ok", "/partner/mini/program/doc.html","/partner/mini/program/v2/api-docs",
|
||||||
"/**/swagger*/**",
|
"/**/swagger*/**",
|
||||||
"/**/webjars/**");
|
"/**/webjars/**");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user