Commit e3aa6c8a authored by qinxunjia's avatar qinxunjia

修改配置文件

parent 338aee31
# 测试环境配置
server:
tomcat:
max-threads: 50
port: 15600
#contextPath: /resource
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:mysql://119.23.32.151:3306/dmhub_plugin?characterEncoding=utf8&useSSL=false
driver-class-name: com.mysql.cj.jdbc.Driver
username: bu00310
password: pwd$BU00310
hikari:
maxLifetime: 1765000
maximumPoolSize: 20
connectionTimeout: 30000
idleTimeout: 600000
pool-name: dmhub-plug-pool
redis:
database: 0
host: 119.23.13.83
port: 8007
timeout: 5000
system:
config:
bgy:
appId: 2021 # 系统id
securityCode: 930844c7-7985-435b-af47-142b59b299c3 # 鉴权码
url: https://xstest.bgy.com.cn/ApiBgyTest/Open/Sms.ashx
areaId: XXJSB
api: SendSms
dmHub:
applicationId: cl0300171a6012c21
applicationKey: 4017078e9dfd593b2d9a0ede58eff589644fbe50
tokenUrl: https://api.convertlab.com/security/accesstoken
report: https://api.convertlab.com/v1/sms/report
# 测试环境配置
server: server:
tomcat: tomcat:
max-threads: 50 max-threads: 50
port: 9010 port: 15600
#contextPath: /resource #contextPath: /resourceapplication-test.yml
spring: spring:
datasource: datasource:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
url: jdbc:mysql://119.23.32.151:3306/dmhub_plugin?characterEncoding=utf8&useSSL=false # url: jdbc:mysql://119.23.32.151:3306/dmhub_plugin?characterEncoding=utf8&useSSL=false
url: jdbc:mysql://my09457h.mysql.db.pcloud.localdomain:3070/dmhub_plugin?characterEncoding=utf8&useSSL=false
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: dmp username: bu00310
password: Ioubuy@2019@! password: pwd$BU00310
hikari: hikari:
maxLifetime: 1765000 maxLifetime: 1765000
maximumPoolSize: 20 maximumPoolSize: 20
...@@ -18,12 +22,12 @@ spring: ...@@ -18,12 +22,12 @@ spring:
idleTimeout: 600000 idleTimeout: 600000
pool-name: dmhub-plug-pool pool-name: dmhub-plug-pool
redis: redis:
database: 0 database: 0
host: 119.23.32.151 host: rs67xf4p.redisrep.db.pcloud.localdomain
port: 8007 port: 16034
timeout: 5000 timeout: 5000
system: system:
config: config:
bgy: bgy:
...@@ -37,3 +41,4 @@ system: ...@@ -37,3 +41,4 @@ system:
applicationKey: 4017078e9dfd593b2d9a0ede58eff589644fbe50 applicationKey: 4017078e9dfd593b2d9a0ede58eff589644fbe50
tokenUrl: https://api.convertlab.com/security/accesstoken tokenUrl: https://api.convertlab.com/security/accesstoken
report: https://api.convertlab.com/v1/sms/report report: https://api.convertlab.com/v1/sms/report
...@@ -8,7 +8,7 @@ info: ...@@ -8,7 +8,7 @@ info:
spring: spring:
profiles: profiles:
active: prod active: test
mybatis-plus: mybatis-plus:
mapper-locations: classpath:mapper/*.xml mapper-locations: classpath:mapper/*.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment