修改配置文件
This commit is contained in:
parent
d9897564e5
commit
c91c036ee3
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
|||
<artifactId>nyzy</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<name>nyzy</name>
|
||||
<description>吉林省农业资源薪资平台</description>
|
||||
<description>吉林省农业资源信息平台</description>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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存储配置
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue