hz-website/backend/target/classes/application.yml
2025-06-11 17:46:57 +08:00

47 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
servlet:
context-path: /
session:
timeout: 300m # 5 minutes
spring:
profiles:
active: dev
mvc:
static-path-pattern: /**
favicon:
enabled: false
resources:
static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,file:${web.resource-path}
thymeleaf:
cache: false
suffix: .html
encoding: UTF-8
servlet:
multipart:
enabled: true
file-size-threshold: 0
max-file-size: 3072MB
max-request-size: 3072MB
## 该配置节点为独立的节点有很多同学容易将这个配置放在spring的节点下导致配置无法被识别
mybatis:
configuration:
call-setters-on-nulls: true
map-underscore-to-camel-case: true
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath:mapping/*.xml #注意一定要对应mapper映射xml文件的所在路径
type-aliases-package: cc.iteachyou.cms.entity # 注意:对应实体类的路径
mapper:
mappers:
- cc.iteachyou.cms.common.BaseMapper
not-empty: false
identity: MYSQL
#pagehelper分页插件
pagehelper:
helperDialect: mysql
reasonable: false # 如果为true则分页参数无效的情况下则查询全部数据
supportMethodsArguments: true
params: count=countSql