测试环境 修改数据连接地址

新增 pre 预发布配置
This commit is contained in:
2024-09-04 11:29:27 +08:00
parent ed78691326
commit 3528ebb0c4
2 changed files with 15 additions and 11 deletions

View File

@@ -4,9 +4,9 @@ spring:
application:
name: cashierService
datasource:
url: jdbc:mysql://101.37.12.135:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
username: fycashier
password: Twc6MrzzjBiWSsjh
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_test?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
username: cashier
password: Cashier@1@
driver-class-name: com.mysql.cj.jdbc.Driver
initialSize: 5
minIdle: 5

View File

@@ -1,10 +1,12 @@
server:
port: 10589
spring:
application:
name: cashierService
datasource:
url: jdbc:mysql://121.40.128.145:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false
username: root
password: mysqlroot@123
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_pre?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
username: cashier
password: Cashier@1@
driver-class-name: com.mysql.cj.jdbc.Driver
initialSize: 5
minIdle: 5
@@ -12,12 +14,12 @@ spring:
maxWait: 60000
logging:
level:
com.chaozhanggui.system.openness: debug
com.chaozhanggui.system.openness: info
redis:
# redis数据库索引默认为0我们使用索引为3的数据库避免和其他数据库冲突
database: 2
database: 0
# redis服务器地址默认为localhost
host: 101.37.12.135
host: localhost
# redis端口默认为6379
port: 6379
# redis访问密码默认为空
@@ -35,7 +37,7 @@ spring:
main:
allow-circular-references: true
rabbitmq:
host: 127.0.0.1
host: localhost
port: 5672
username: admin
password: Czg666888
@@ -45,12 +47,14 @@ pagehelper:
reasonable: true
helperDialect: mysql
params: count=countSql
mybatis:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath:mapper/*.xml
subscribe:
message:
miniprogramState: trial