Commit 1cfe9730 authored by qinxunjia's avatar qinxunjia

修改配置

parent 36041958
...@@ -38,8 +38,9 @@ system: ...@@ -38,8 +38,9 @@ system:
dmHub: dmHub:
applicationId: cl0300171a6012c21 applicationId: cl0300171a6012c21
applicationKey: 4017078e9dfd593b2d9a0ede58eff589644fbe50 applicationKey: 4017078e9dfd593b2d9a0ede58eff589644fbe50
tokenUrl: https://api.convertlab.com/security/accesstoken baseApiURL: https://api.convertlab.com
report: https://api.convertlab.com/v1/sms/report tokenUrl: ${system.config.dmHub.baseApiURL}/security/accesstoken
report: ${${system.config.dmHub.baseApiURL}}/v1/sms/report
appId: 1smsdemo appId: 1smsdemo
appSecret: ac031765c3a8c9acc4747808e4fe5918 appSecret: ac031765c3a8c9acc4747808e4fe5918
......
...@@ -3,18 +3,17 @@ ...@@ -3,18 +3,17 @@
server: server:
tomcat: tomcat:
max-threads: 50 max-threads: 50
port: 15600 port: ${dmhub-sms-port}
#contextPath: /resourceapplication-test.yml #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: ${dataSource_url}
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: bu00310 username: ${dataSource_username}
password: pwd$BU00310 password: ${dataSource_password}
hikari: hikari:
maxLifetime: 1765000 maxLifetime: 1765000
maximumPoolSize: 20 maximumPoolSize: 20
...@@ -24,24 +23,26 @@ spring: ...@@ -24,24 +23,26 @@ spring:
redis: redis:
database: 0 database: 0
host: rs67xf4p.redisrep.db.pcloud.localdomain host: ${redis_url}
port: 16034 port: ${redis_port}
timeout: 5000 timeout: 5000
password: ${redis_pwd}
system: system:
config: config:
bgy: bgy:
appId: 2021 # 系统id appId: ${bgy-sms-appId} # 系统id
securityCode: 930844c7-7985-435b-af47-142b59b299c3 # 鉴权码 securityCode: ${bgy-sms-security} # 鉴权码
url: https://xstest.bgy.com.cn/ApiBgyTest/Open/Sms.ashx url: ${bgy-sms-url}
areaId: XXJSB areaId: ${bgy-sms-areaId}
api: SendSms api: SendSms
dmHub: dmHub:
applicationId: cl016b172dab13e2b applicationId: ${plugin-dmhub-appId}
applicationKey: 834f5758ce3ab9d9c01b80e6d0a51ff3dda48bd3 applicationKey: ${plugin-dmhub-appKey}
tokenUrl: https://api-xscdp.bgy.com.cn/security/accesstoken baseApiURL: ${plugin-dmhub-aip-url}
report: https://api-xscdp.bgy.com.cn/v1/sms/report tokenUrl: ${system.config.dmHub.baseApiURL}/security/accesstoken
appId: 1smsdemo report: ${system.config.dmHub.baseApiURL}/v1/sms/report
appSecret: ac031765c3a8c9acc4747808e4fe5918 appId: ${smsAppId}
appSecret: ${smsSecret}
logging: logging:
level: error level: error
......
...@@ -8,7 +8,7 @@ info: ...@@ -8,7 +8,7 @@ info:
spring: spring:
profiles: profiles:
active: test active: prod
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