更改配置

This commit is contained in:
lyf 2023-01-28 15:57:27 +08:00
parent e1ff6a0eb7
commit b017339f5f
1809 changed files with 32351 additions and 251 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
spring:
datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver
parameter:
### 这个根据自己的情况配置
domain:
swagger:
### 生产环境不允许访问swagger
production: false
logging:
config: classpath:log4j2-dev.xml

View File

@ -0,0 +1,16 @@
spring:
datasource:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver
rabbitmq:
enabled: true
swagger:
### 生产环境不允许访问swagger
production: true
logging:
config: classpath:log4j2-prod.xml

View File

@ -0,0 +1,14 @@
# 测试服务器上的数据库连接
spring:
datasource:
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: CZGmysqlroot@123
driver-class-name: com.mysql.jdbc.Driver
parameter:
domain:
swagger:
### 生产环境不允许访问swagger
production: true

View File

@ -0,0 +1,27 @@
spring:
output:
ansi:
enabled: always
profiles:
### 将一些固定的配置放到下级文件夹下的yml文件中
include: common, ryx, ys
active: dev
mvc:
view:
prefix: /WEB-INF/jsp/
suffix: .jsp
resources:
static-locations: classpath:/static
datasource:
druid:
break-after-acquire-failure: true
connection-error-retry-attempts: 1
task:
execution:
pool:
max-size: 20
server:
servlet:
context-path: /api
port: 7004

Some files were not shown because too many files have changed in this diff Show More