This commit is contained in:
2022-05-06 21:09:40 +08:00
parent 4d3b8caf21
commit 186feb98da
5 changed files with 37 additions and 26 deletions
@@ -143,6 +143,7 @@ public class MultiUserDetailsAuthenticationProvider extends AbstractUserDetailsA
if (request.getRequestURI().startsWith(properties.getAdminApi().getPrefix())
|| request.getRequestURI().startsWith("/common/")
|| request.getRequestURI().startsWith("/bxg")
|| request.getRequestURI().startsWith("/api/upload")
) {
return UserTypeEnum.ADMIN;
}