diff --git a/README.md b/README.md index c9630b9..facad8b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 吉林省农业资源薪资平台 +# 吉林省农业资源信息平台 # 创建项目必须要做的事 diff --git a/pom.xml b/pom.xml index 664517b..08c3c67 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ nyzy 0.0.1 nyzy - 吉林省农业资源薪资平台 + 吉林省农业资源信息平台 org.springframework.boot diff --git a/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 5dc935c..1e190f2 100644 --- a/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -139,7 +139,8 @@ public class ShiroConfig { filterChainDefinitionMap.put("/gateway/**/delete", "jwt");//禁止可修改的免登陆 filterChainDefinitionMap.put("/gateway/**/deleteBatch", "jwt");//禁止可修改的免登陆 //前台免登陆 - filterChainDefinitionMap.put("/gateway/**/", "anon");//前台免登陆 +// filterChainDefinitionMap.put("/gateway/**/", "anon");//前台免登陆 + filterChainDefinitionMap.put("/gateway/**", "anon");//前台免登陆 //性能监控 TODO 存在安全漏洞 //filterChainDefinitionMap.put("/actuator/**", "anon"); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 50f9f63..1c72572 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -7,7 +7,7 @@ server: include-stacktrace: ALWAYS include-message: ALWAYS servlet: - context-path: /gjc + context-path: /nyzy compression: enabled: true min-response-size: 1024 @@ -131,7 +131,7 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:mysql://127.0.0.1:3306/ndgjc_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://127.0.0.1:3306/nyzy_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root password: admin driver-class-name: com.mysql.cj.jdbc.Driver diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index e3537a3..83078a5 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -7,7 +7,7 @@ server: include-stacktrace: ALWAYS include-message: ALWAYS servlet: - context-path: /gjc + context-path: /nyzy compression: enabled: true min-response-size: 1024 @@ -131,7 +131,7 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:mysql://127.0.0.1:3306/ndgjc_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://127.0.0.1:3306/nyzy_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root password: root driver-class-name: com.mysql.cj.jdbc.Driver @@ -176,9 +176,9 @@ jeecg : uploadType: alioss path : #文件上传根目录 设置 - upload: D://opt//gjc//upFiles + upload: D://opt//nyzy//upFiles #webapp文件路径 - webapp: D://opt//gjc//webapp + webapp: D://opt//nyzy//webapp shiro: excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo #阿里云oss存储配置 diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index c6b1df5..f928f60 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -131,9 +131,9 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:mysql://127.0.0.1:3307/ndgjc_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://127.0.0.1:3307/nyzy_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root - password: root + password: admin driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 #multi-datasource1: diff --git a/src/main/resources/jeecg/jeecg_database.properties b/src/main/resources/jeecg/jeecg_database.properties index 8fc8db3..33eab7a 100644 --- a/src/main/resources/jeecg/jeecg_database.properties +++ b/src/main/resources/jeecg/jeecg_database.properties @@ -1,9 +1,9 @@ #mysql diver_name=com.mysql.cj.jdbc.Driver -url=jdbc:mysql://127.0.0.1:3307/ndgjc_jeecg_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai +url=jdbc:mysql://127.0.0.1:3306/nyzy_jeecg_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai username=root -password=root -database_name=ndgjc_jeecg_db +password=admin +database_name=nyzy_jeecg_db #oracle #diver_name=oracle.jdbc.driver.OracleDriver