Skip to content

Commit a8c8332

Browse files
committed
config
1 parent cf3bbe6 commit a8c8332

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

api/jeecg-boot-module-system/src/main/resources/application-dev.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ spring:
127127
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
128128
datasource:
129129
master:
130-
url: jdbc:mysql://tzz.213.name:3306/teachingopendev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false
131-
username: teachingopendev
132-
password: teachingopendev
130+
url: jdbc:mysql://127.0.0.1:3306/teachingopen?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false
131+
username: teachingopen
132+
password: teachingopen
133133
driver-class-name: com.mysql.jdbc.Driver
134134
# 多数据源配置
135135
#multi-datasource1:
@@ -140,15 +140,15 @@ spring:
140140
#redis 配置
141141
redis:
142142
database: 1
143-
host: tzz.213.name
143+
host: 127.0.0.1
144144
lettuce:
145145
pool:
146146
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
147147
max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
148148
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
149149
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
150150
shutdown-timeout: 100ms
151-
password: 'Chengyu1817'
151+
password: ''
152152
port: 6379
153153
#mybatis plus 设置
154154
mybatis-plus:
@@ -196,8 +196,8 @@ jeecg :
196196
staticDomain: ??
197197
#七牛云存储配置
198198
qiniu:
199-
accessKey: 7r03dL3CsbQtW1DeV2xEic4DjRBIuMgCBHrkGjKo
200-
secretKey: OQ3jE8SjeTpl34PfSq3C10tYVuE9KFfYujZwzUtJ
199+
accessKey: ??
200+
secretKey: ??
201201
bucketName: teaching-open
202202
staticDomain: //open.qn.teaching.vip
203203

api/jeecg-boot-module-system/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring:
22
profiles:
3-
active: dev # dev开发测试环境 prod线上正式环境
3+
active: prod # dev开发测试环境 prod线上正式环境
44
http:
55
multipart:
66
location: /tmp

0 commit comments

Comments
 (0)