查看分享不需要校验登录状态

This commit is contained in:
马超 2021-06-11 12:05:41 +08:00
parent 83760bb3c7
commit ba5e891098

View File

@ -44,9 +44,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
list.add("/share/**"); list.add("/share/**");
registry.addInterceptor(authenticationInterceptor) registry.addInterceptor(authenticationInterceptor)
.addPathPatterns(list) .addPathPatterns(list)
.excludePathPatterns("/filetransfer/downloadfile", "/filetransfer/preview"); .excludePathPatterns("/filetransfer/downloadfile",
// //登录登出 "/filetransfer/preview",
// .excludePathPatterns("/user/checkuserlogininfo", "/user/login", "/user/register"); "/share/sharefileList",
"/share/sharetype",
"/share/checkextractioncode",
"/share/checkendtime");
} }
} }