You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
#公共配置
|
|
spring:
|
|
main:
|
|
banner-mode: off
|
|
log-startup-info: off
|
|
datasource:
|
|
druid:
|
|
url: jdbc:mysql://localhost:3306/student?serverTimezone=Asia/Shanghai
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
username: root
|
|
password: "123456"
|
|
|
|
# 时间格式化
|
|
mvc:
|
|
format:
|
|
date: yyyy-MM-dd
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 100MB
|
|
max-request-size: 100MB
|
|
# redis
|
|
redis:
|
|
lettuce:
|
|
pool:
|
|
max-active: 8
|
|
max-idle: 8
|
|
min-idle: 0
|
|
max-wait: 100ms
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
# 邮箱设置
|
|
# mail:
|
|
# username: 384138876@qq.com
|
|
# host: smtp.qq.com
|
|
## stmp加密密码
|
|
# password:
|
|
# 缓存机制
|
|
|
|
# 使用环境
|
|
# profiles:
|
|
# active: @profile.active@
|
|
# include: test
|
|
mybatis-plus:
|
|
global-config:
|
|
db-config:
|
|
id-type: auto
|
|
# 日志加载
|
|
mapper-locations: classpath:com/imut/domain/mapper/*.xml
|
|
# configuration:
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
server:
|
|
port: 8088
|
|
files:
|
|
upload:
|
|
path: C:\Users\38413\Desktop\JAVA-WEB\vue项目\files\
|
|
|
|
alipay:
|
|
appId: 1
|
|
appPrivateKey: 1
|
|
alipayPublicKey: 1
|
|
# 穿透地址
|
|
notifyUrl: 1
|