Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dmhub-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinxunjia
dmhub-plugin
Commits
1cfe9730
Commit
1cfe9730
authored
Jun 22, 2020
by
qinxunjia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
36041958
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
20 deletions
+22
-20
application-dev.yml
src/main/resources/application-dev.yml
+3
-2
application-prod.yml
src/main/resources/application-prod.yml
+18
-17
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/resources/application-dev.yml
View file @
1cfe9730
...
@@ -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
...
...
src/main/resources/application-prod.yml
View file @
1cfe9730
...
@@ -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
...
...
src/main/resources/application.yml
View file @
1cfe9730
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment