Files
xian_api_new/src/main/resources/application.yml
T

16 lines
464 B
YAML
Raw Normal View History

2026-04-07 20:00:15 +08:00
# 激活的配置文件(默认dev,打包时会被Maven profile替换)
spring:
profiles:
active: @spring.profiles.active@
2026-04-11 10:10:28 +08:00
config:
import: classpath:config/redis/redis-key.yml
2026-04-07 20:00:15 +08:00
2026-06-03 18:30:16 +08:00
# MyBatis-plus 配置
mybatis-plus:
2026-06-02 10:25:42 +08:00
mapper-locations: classpath:com/gis/xian/mapper/*.xml
2026-06-02 17:10:47 +08:00
type-aliases-package: com.gis.xian.entity
2026-04-07 20:00:15 +08:00
configuration:
2026-06-02 17:10:47 +08:00
map-underscore-to-camel-case: true
# 添加 TypeHandler 扫描包路径
type-handlers-package: com.gis.xian.handler