Commit 1dc02c04 by HlQ

[add] 优化 application 文件

1 parent 7c7bbaf1
...@@ -44,9 +44,9 @@ import java.util.stream.Collectors; ...@@ -44,9 +44,9 @@ import java.util.stream.Collectors;
@Slf4j @Slf4j
public class DingMod { public class DingMod {
@Value("${appkey:}") @Value("${ding.appkey:}")
private String appKey; private String appKey;
@Value("${appsecret:}") @Value("${ding.appsecret:}")
private String appSecret; private String appSecret;
private final IUserService userService; private final IUserService userService;
......
debug=false
server.port=8011
################################## DATABASE ######################################## ################################## DATABASE ########################################
spring.datasource.url=jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order spring.datasource.url=jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order
spring.datasource.username=vion spring.datasource.username=vion
...@@ -19,8 +17,8 @@ wx.mp.config-storage.redis.port=6379 ...@@ -19,8 +17,8 @@ wx.mp.config-storage.redis.port=6379
wx.mp.config-storage.redis.database=8 wx.mp.config-storage.redis.database=8
fileUrl=D:/pic fileUrl=D:/pic
appkey=dingkrzwks0jpi2di3uo ding.appkey=dingkrzwks0jpi2di3uo
appsecret=Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt ding.appsecret=Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
xbongbong.corpid=ding6bb660048f7ae2dcee0f45d8e4f7c288 xbongbong.corpid=ding6bb660048f7ae2dcee0f45d8e4f7c288
xbongbong.token=c7f9264e9e1687866c37032295552610 xbongbong.token=c7f9264e9e1687866c37032295552610
......
debug=false
server.port=8011
################################## DATABASE ######################################## ################################## DATABASE ########################################
spring.datasource.url=jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order spring.datasource.url=jdbc:postgresql://pgm-2ze3cjpyjgjw0bl5uo.pg.rds.aliyuncs.com:1921/work-order
spring.datasource.username=vion spring.datasource.username=vion
...@@ -19,5 +17,5 @@ wx.mp.config-storage.redis.port=6379 ...@@ -19,5 +17,5 @@ wx.mp.config-storage.redis.port=6379
wx.mp.config-storage.redis.database=8 wx.mp.config-storage.redis.database=8
fileurl=/nas-data/work-order fileurl=/nas-data/work-order
appkey=dingkrzwks0jpi2di3uo
appsecret=Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
\ No newline at end of file \ No newline at end of file
ding.appkey=dingkrzwks0jpi2di3uo
ding.appsecret=Ul5UTZqIost_kEAdfZXidvLoZhzvraYurm_g7PCHg-IrDMLHT7mdSgRS1iCHrDPt
\ No newline at end of file \ No newline at end of file
server:
port: 8011
spring: spring:
profiles: profiles:
active: dev active: dev
datasource:
driver-class-name: org.postgresql.Driver
servlet: servlet:
multipart: multipart:
max-file-size: 100MB max-file-size: 100MB
...@@ -20,7 +21,6 @@ wx: ...@@ -20,7 +21,6 @@ wx:
mp: mp:
appid: wx96d05a0e5749f058 appid: wx96d05a0e5749f058
secret: 6033fa4f99d855cb914ec1fe2ecc77bd secret: 6033fa4f99d855cb914ec1fe2ecc77bd
sa-token: sa-token:
token-name: token token-name: token
timeout: 3600 timeout: 3600
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!