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 # 超级管理员