Commit 1cfe9730 authored by qinxunjia's avatar qinxunjia

修改配置

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