From 4355f2d170d7b7dd4221a8add55e49eb35d3f8ef Mon Sep 17 00:00:00 2001 From: wangbing Date: Thu, 2 Jan 2020 17:28:22 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 4d95b21841943d26dcaf308a538dea4a99e83b1b --- .../resources/modules/SpringBoot/resources/application-dev.ftl | 2 +- .../resources/modules/SpringBoot/resources/application-prod.ftl | 2 +- src/main/resources/modules/SpringBoot/test/application.ftl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/modules/SpringBoot/resources/application-dev.ftl b/src/main/resources/modules/SpringBoot/resources/application-dev.ftl index 2e194ce3..0900c93f 100644 --- a/src/main/resources/modules/SpringBoot/resources/application-dev.ftl +++ b/src/main/resources/modules/SpringBoot/resources/application-dev.ftl @@ -126,7 +126,7 @@ web.welcome.page=/index.htm # 登录页 web.login.page=/login.htm # 拦截验证 -web.url.auth.included=/,/**/*.htm +web.url.auth.included=/,/**/*.htm,/ajax/**,/api/** # 直接放行 web.url.auth.excluded=/login.htm # 超级管理员 diff --git a/src/main/resources/modules/SpringBoot/resources/application-prod.ftl b/src/main/resources/modules/SpringBoot/resources/application-prod.ftl index a9222f1f..7577b2b8 100644 --- a/src/main/resources/modules/SpringBoot/resources/application-prod.ftl +++ b/src/main/resources/modules/SpringBoot/resources/application-prod.ftl @@ -126,7 +126,7 @@ web.welcome.page=/index.htm # 登录页 web.login.page=/login.htm # 拦截验证 -web.url.auth.included=/,/**/*.htm +web.url.auth.included=/,/**/*.htm,/ajax/**,/api/** # 直接放行 web.url.auth.excluded=/login.htm # 超级管理员 diff --git a/src/main/resources/modules/SpringBoot/test/application.ftl b/src/main/resources/modules/SpringBoot/test/application.ftl index 2e194ce3..0900c93f 100644 --- a/src/main/resources/modules/SpringBoot/test/application.ftl +++ b/src/main/resources/modules/SpringBoot/test/application.ftl @@ -126,7 +126,7 @@ web.welcome.page=/index.htm # 登录页 web.login.page=/login.htm # 拦截验证 -web.url.auth.included=/,/**/*.htm +web.url.auth.included=/,/**/*.htm,/ajax/**,/api/** # 直接放行 web.url.auth.excluded=/login.htm # 超级管理员