serv-权限+文件下载
@@ -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>
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |
|
After Width: | Height: | Size: 884 KiB |