Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1dc02c04
authored
Aug 22, 2024
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[add] 优化 application 文件
1 parent
7c7bbaf1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
13 deletions
src/main/java/vion/third/DingMod.java
src/main/resources/application-dev.properties
src/main/resources/application-pro.properties
src/main/resources/application.yml
src/main/java/vion/third/DingMod.java
View file @
1dc02c0
...
...
@@ -44,9 +44,9 @@ import java.util.stream.Collectors;
@Slf4j
public
class
DingMod
{
@Value
(
"${appkey:}"
)
@Value
(
"${
ding.
appkey:}"
)
private
String
appKey
;
@Value
(
"${appsecret:}"
)
@Value
(
"${
ding.
appsecret:}"
)
private
String
appSecret
;
private
final
IUserService
userService
;
...
...
src/main/resources/application-dev.properties
View file @
1dc02c0
debug
=
false
server.port
=
8011
################################## DATABASE ########################################
spring.datasource.url
=
jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order
spring.datasource.username
=
vion
...
...
@@ -19,8 +17,8 @@ wx.mp.config-storage.redis.port=6379
wx.mp.config-
storage.redis.database
=
8
fileUrl
=
D:/pic
appkey
=
dingkrzwks0jpi2di3uo
appsecret
=
Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
ding.
appkey
=
dingkrzwks0jpi2di3uo
ding.
appsecret
=
Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
xbongbong.corpid
=
ding6bb660048f7ae2dcee0f45d8e4f7c288
xbongbong.token
=
c7f9264e9e1687866c37032295552610
...
...
src/main/resources/application-pro.properties
View file @
1dc02c0
debug
=
false
server.port
=
8011
################################## DATABASE ########################################
spring.datasource.url
=
jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order
spring.datasource.username
=
vion
...
...
@@ -19,5 +17,5 @@ wx.mp.config-storage.redis.port=6379
wx.mp.config-
storage.redis.database
=
8
fileurl
=
/nas-data/work-order
appkey
=
dingkrzwks0jpi2di3uo
appsecret
=
Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
\ No newline at end of file
ding.appkey
=
dingkrzwks0jpi2di3uo
ding.appsecret
=
Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
\ No newline at end of file
src/main/resources/application.yml
View file @
1dc02c0
server
:
port
:
8011
spring
:
profiles
:
active
:
dev
datasource
:
driver-class-name
:
org.postgresql.Driver
servlet
:
multipart
:
max-file-size
:
100MB
...
...
@@ -20,7 +21,6 @@ wx:
mp
:
appid
:
wx96d05a0e5749f058
secret
:
6033fa4f99d855cb914ec1fe2ecc77bd
sa-token
:
token-name
:
token
timeout
:
3600
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment