perf:调整项目配置
This commit is contained in:
28
springboot-ademo/src/main/resources/application-test.yml
Normal file
28
springboot-ademo/src/main/resources/application-test.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
## Spring配置
|
||||||
|
spring:
|
||||||
|
|
||||||
|
## 数据库配置
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://47.96.30.85:3306/com_tiesheng_web?useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&queryTimeout=5400&allowMultiQueries=true&serverTimezone=GMT%2B8
|
||||||
|
username: com_tiesheng_web
|
||||||
|
password: 4Xo$XheGFc
|
||||||
|
|
||||||
|
platform:
|
||||||
|
wxmp:
|
||||||
|
global:
|
||||||
|
app-id: wxa0343fe519824651
|
||||||
|
app-secret: 776f089ba70bcd66455a7c7893f810b9
|
||||||
|
|
||||||
|
tiesheng:
|
||||||
|
token:
|
||||||
|
ignores:
|
||||||
|
"1111":
|
||||||
|
id: "1111"
|
||||||
|
global:
|
||||||
|
version: 2
|
||||||
|
host: http://localhost:8080
|
||||||
|
aliyun:
|
||||||
|
access-key-id: LTAI5tJtbgBCnTY5eS4SmrTf
|
||||||
|
access-key-secret: JIHqpRUFffCHhXaJEVvWN31WcexWqG
|
||||||
|
sign-name: 阿里云短信测试
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
|
server:
|
||||||
|
compression:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
## Spring配置
|
## Spring配置
|
||||||
spring:
|
spring:
|
||||||
|
|
||||||
## 数据库配置
|
servlet:
|
||||||
datasource:
|
multipart:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
max-file-size: 20MB
|
||||||
url: jdbc:mysql://47.96.30.85:3306/com_tiesheng_web?useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&queryTimeout=5400&allowMultiQueries=true&serverTimezone=GMT%2B8
|
web:
|
||||||
username: com_tiesheng_web
|
resources:
|
||||||
password: 4Xo$XheGFc
|
static-locations: classpath:/static/,file:static/
|
||||||
|
mvc:
|
||||||
|
pathmatch:
|
||||||
|
matching-strategy: ant_path_matcher
|
||||||
|
|
||||||
platform:
|
## 日志
|
||||||
wxmp:
|
logging:
|
||||||
global:
|
file:
|
||||||
app-id: wxa0343fe519824651
|
name: logs/tiesheng.log
|
||||||
app-secret: 776f089ba70bcd66455a7c7893f810b9
|
|
||||||
|
|
||||||
tiesheng:
|
|
||||||
token:
|
|
||||||
ignores:
|
|
||||||
"1111":
|
|
||||||
id: "1111"
|
|
||||||
global:
|
|
||||||
version: 2
|
|
||||||
host: http://localhost:8080
|
|
||||||
aliyun:
|
|
||||||
access-key-id: LTAI5tJtbgBCnTY5eS4SmrTf
|
|
||||||
access-key-secret: JIHqpRUFffCHhXaJEVvWN31WcexWqG
|
|
||||||
sign-name: 阿里云短信测试
|
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
server:
|
|
||||||
compression:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
## Spring配置
|
|
||||||
spring:
|
|
||||||
|
|
||||||
servlet:
|
|
||||||
multipart:
|
|
||||||
max-file-size: 20MB
|
|
||||||
web:
|
|
||||||
resources:
|
|
||||||
static-locations: classpath:/static/,file:static/
|
|
||||||
mvc:
|
|
||||||
pathmatch:
|
|
||||||
matching-strategy: ant_path_matcher
|
|
||||||
|
|
||||||
## 日志
|
|
||||||
logging:
|
|
||||||
file:
|
|
||||||
name: logs/tiesheng.log
|
|
||||||
Reference in New Issue
Block a user