From f966fae0606178ec5ffa47dd487f7984867da557 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 9 Feb 2022 00:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91Knife4j=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3=20404=20=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E5=8E=9F=E5=9B=A0=E6=98=AF=20`spring.mvc.sta?= =?UTF-8?q?tic-path-pattern`=20=E9=85=8D=E7=BD=AE=E9=A1=B9=EF=BC=8C?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E4=BA=86=E5=9F=BA=E7=A1=80=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/src/main/resources/application.yaml | 4 ---- 更新日志.md | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index 301a0e176..825ac44e4 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -20,10 +20,6 @@ spring: write-durations-as-timestamps: true # 设置 Duration 的格式,使用时间戳 fail-on-empty-beans: false # 允许序列化无属性的 Bean - # 静态资源 - mvc: - static-path-pattern: /static/** - # 工作流 Activiti 配置 activiti: # 1. false: 默认值,activiti启动时,对比数据库表中保存的版本,如果不匹配。将抛出异常 diff --git a/更新日志.md b/更新日志.md index d3a3920ca..60406fefc 100644 --- a/更新日志.md +++ b/更新日志.md @@ -34,6 +34,7 @@ TODO ### 🐞 Bug Fixes * 【修复】数据权限的 `DEPT_AND_CHILD` 范围时,未设置自己所在的部门 +* 【修复】Knife4j 接口文档 404 的问题,原因是 `spring.mvc.static-path-pattern` 配置项,影响了基础路径 ### 🔨 Dependency Upgrades