jiangchengfeiyi-houduan/src/main/resources/application.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

2024-10-23 07:33:02 +00:00
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
2024-10-31 11:39:46 +00:00
url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai
2024-10-23 07:33:02 +00:00
username: feiyi
2024-10-25 10:35:51 +00:00
password: 123456asd
2024-10-27 10:39:56 +00:00
data:
redis:
port: 6379
host: localhost
database: 0
2024-10-31 11:18:10 +00:00
servlet:
multipart:
max-file-size: 10MB
2024-10-27 10:39:56 +00:00
2024-10-25 10:35:51 +00:00
2024-10-31 11:18:10 +00:00
springdoc:
default-flat-param-object: true
2024-10-25 10:35:51 +00:00
server:
2024-10-31 11:39:46 +00:00
port: 9092
2024-10-25 10:35:51 +00:00
servlet:
context-path: /api
# cookie 30 天过期
session:
cookie:
max-age: 2592000
2024-11-02 12:39:54 +00:00
2024-10-25 10:35:51 +00:00
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
configuration:
map-underscore-to-camel-case: false
2024-11-01 14:03:01 +00:00
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
2024-10-31 11:18:10 +00:00
global-config:
db-config:
logic-delete-field: isDelete #全局逻辑删除的实体字段名
logic-delete-value: 1 #逻辑已删除值(默认为1)
logic-not-delete-value: 0 #逻辑未删除值(默认为0)
hwyun:
obs:
accessKey: TEA5FAYCZDUSCEJP8NKX
securityKey: djX3WNrYjRDmp5v7rOXfa25e9CHj8OXKRzQJp6Ec
endPoint: obs.cn-north-4.myhuaweicloud.com
bucketName: carbon2