Commit b90775e7 authored by qinxunjia's avatar qinxunjia

no message

parent d5a8021d
# 测试环境配置
# 本地环境配置
server:
tomcat:
max-threads: 50
port: 15600
#contextPath: /resource
spring:
......
# 测试k8s环境配置
server:
tomcat:
max-threads: 50
port: ${dmhub-sms-port}
spring:
datasource:
db1:
jdbc-url: ${dataSource1_url}
driverClassName: com.mysql.cj.jdbc.Driver
username: ${dataSource_username}
password: ${dataSource_password}
enabled: true
db2:
jdbc-url: ${dataSource2_url}
driverClassName: com.mysql.cj.jdbc.Driver
username: ${dataSource_username}
password: ${dataSource_password}
enabled: true
type: com.zaxxer.hikari.HikariDataSource
hikari:
minimumIdle: 5
maxLifetime: 1765000
maximumPoolSize: 20
connectionTimeout: 30000
idleTimeout: 600000
pool-name: dmhub-plug-pool
redis:
database: 0
host: ${redis_url}
port: ${redis_port}
timeout: 5000
password: ${redis_pwd}
system:
config:
bgy:
appId: ${bgy-sms-appId} # 系统id
securityCode: ${bgy-sms-security} # 鉴权码
url: ${bgy-sms-url}
areaId: ${bgy-sms-areaId}
api: SendSms
dmHub:
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}
shortUrl: ${shortUrl}
logging:
level: ${logLevel}
level.com.bgy: ${logLevel} # 单独指定包下的日志级别
config: classpath:logback-spring.xml
file:
path: logs.log
\ No newline at end of file
# 测试环境配置
# 生产环境配置
server:
tomcat:
max-threads: 50
port: ${dmhub-sms-port}
#contextPath: /resourceapplication-test.yml
spring:
datasource:
db1:
......
......@@ -42,8 +42,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-xscdp.bgy.com.cn
tokenUrl: ${system.config.dmHub.baseApiURL}/security/accesstoken
report: ${system.config.dmHub.baseApiURL}/v1/sms/report
appId: 1smsdemo
appSecret: ac031765c3a8c9acc4747808e4fe5918
shortUrl: urlshort-xsma-sit.bgy.com.cn
......
......@@ -8,8 +8,8 @@ info:
spring:
profiles:
active: test
# active: ${sms-active}
# active: test
active: ${sms-active}
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