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

71 lines
1.5 KiB
YAML
Raw Normal View History

2024-10-23 07:33:02 +00:00
spring:
datasource:
2024-11-19 06:18:40 +00:00
# 生产环境
2024-11-29 02:12:19 +00:00
driver-class-name: com.mysql.cj.jdbc.Driver
2024-11-30 02:46:48 +00:00
url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai
2024-11-29 02:12:19 +00:00
username: feiyi
password: 123456asd
2024-11-30 02:46:48 +00:00
# 测试环境
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://123.249.108.160:3306/feiyi?serverTimezone=Asia/Shanghai
# username: feiyi
# password: 123456asd
2024-11-09 11:33:40 +00:00
hikari:
max-lifetime: 120000
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
2024-11-03 06:49:59 +00:00
2024-11-04 02:18:18 +00:00
wx:
2024-11-03 08:42:58 +00:00
mini:
2024-11-04 02:18:18 +00:00
appId: wx3f968a09e31d6bed
appSecret: 847bdda7c2b01e88d59948b9ba50ef8d
2024-11-06 11:30:19 +00:00
official:
appId: wx5d04ca2de0e628a8
2024-11-13 12:21:36 +00:00
appSecret: 495af5bc4df1b86ffcfc21bb12daea76
knife4j:
enable: true