serv-权限+文件下载

This commit is contained in:
2025-10-18 17:57:14 +08:00
parent e0f4815d48
commit b3424e554f
30 changed files with 235 additions and 105 deletions

View File

@@ -75,6 +75,13 @@
<mainClass>org.xyzh.App</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<parameters>true</parameters>
</configuration>
</plugin>
</plugins>
</build>

View File

@@ -61,19 +61,22 @@ school-news:
max-login-attempts: 5
lockout-duration: 30 # 锁定30分钟
# 免登录白名单
# 免登录白名单(需要包含 context-path
white-list:
- "/auth/login"
- "/auth/logout"
- "/auth/captcha"
- "/auth/health"
- "/actuator/**"
- "/swagger-ui/**"
- "/v3/api-docs/**"
- "/favicon.ico"
- "/error"
- "/public/**"
- "/static/**"
- "/schoolNewsServ/auth/login"
- "/schoolNewsServ/auth/logout"
- "/schoolNewsServ/auth/captcha"
- "/schoolNewsServ/auth/health"
- "/schoolNewsServ/actuator/.*"
- "/schoolNewsServ/swagger-ui/.*"
- "/schoolNewsServ/v3/api-docs/.*"
- "/schoolNewsServ/favicon.ico"
- "/schoolNewsServ/error"
- "/schoolNewsServ/public/.*"
- "/schoolNewsServ/static/.*"
- "/schoolNewsServ/file/download/.*"
# MyBatis Plus配置
mybatis-plus:

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 KiB