From 6826d59ad7f699905e3f84620d7253e42d521687 Mon Sep 17 00:00:00 2001 From: cheney <1251790704@qq.com> Date: Wed, 22 Mar 2023 10:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=89=B4=E6=9D=83=E9=80=9A?= =?UTF-8?q?=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/huoran/iasf/common/shiro/ShiroConfig.java | 1 + .../huoran/iasf/service/impl/SysColumnServiceImpl.java | 2 +- .../huoran/iasf/service/impl/SysContentServiceImpl.java | 2 +- src/main/resources/application-dev.yml | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/huoran/iasf/common/shiro/ShiroConfig.java b/src/main/java/com/huoran/iasf/common/shiro/ShiroConfig.java index 4b81507..5fcb3c2 100644 --- a/src/main/java/com/huoran/iasf/common/shiro/ShiroConfig.java +++ b/src/main/java/com/huoran/iasf/common/shiro/ShiroConfig.java @@ -141,6 +141,7 @@ public class ShiroConfig { filterChainDefinitionMap.put("/sysColumn/getTheFullArticleByColumn", "anon"); filterChainDefinitionMap.put("/sys/exportFailure", "anon"); filterChainDefinitionMap.put("/sysColumnLongPage/getRedisCache", "anon"); + filterChainDefinitionMap.put("/content/classification/allTheQuery", "anon"); /*filterChainDefinitionMap.put("/index/**", "anon"); filterChainDefinitionMap.put("/doc.html", "anon"); filterChainDefinitionMap.put("/swagger-resources/**", "anon"); diff --git a/src/main/java/com/huoran/iasf/service/impl/SysColumnServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/SysColumnServiceImpl.java index 7f909ca..b537063 100644 --- a/src/main/java/com/huoran/iasf/service/impl/SysColumnServiceImpl.java +++ b/src/main/java/com/huoran/iasf/service/impl/SysColumnServiceImpl.java @@ -95,7 +95,7 @@ public class SysColumnServiceImpl extends ServiceImpl page = new Page(reqVO.getPageNum(), reqVO.getPageSize()); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 3ba0eee..32b1191 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -6,11 +6,11 @@ spring: datasource: master: username: root - password: 123456 -# password: iasf#2022 +# password: 123456 + password: iasf#2022 driver-class-name: com.mysql.cj.jdbc.Driver -# url: jdbc:mysql://127.0.0.1:3306/iasf?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=GMT%2b8 - url: jdbc:mysql://192.168.31.136:3306/iasf?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=GMT%2b8 + url: jdbc:mysql://127.0.0.1:3306/iasf?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=GMT%2b8 +# url: jdbc:mysql://192.168.31.136:3306/iasf?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=GMT%2b8 cache: type: redis redis: