Files
UniversalTestSoftware/client/libs/classes/application.yml

24 lines
1.1 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.
spring:
#放开springmvc对静态资源的拦截
mvc:
static-path-pattern: /static/**
profiles:
active: dev
mybatis-plus:
# 包扫描路径(当前项目的实体类所在位置。别名包扫描路径,通过该属性可以给包中的类注册别名,多个路径用逗号分割)
type-aliases-package: com.cbsd.managerUser.*
# xml扫描多个目录用逗号或者分号分隔(告诉 Mapper 所对应的 XML 文件位置)
mapper-locations: classpath*:mapper/**/*.xml
configuration:
# 是否开启自动驼峰命名规则映射:从数据库列名到Java属性驼峰命名的类似映射
map-underscore-to-camel-case: true
# 如果查询结果中包含空值的列,则 MyBatis 在映射的时候,不会映射这个字段
# 允许在resultType="map"时映射null值
call-setters-on-nulls: true
# 这个配置会将执行的sql打印出来在开发或测试的时候可以用(包括执行结果)
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
springfox:
documentation:
auto-startup: true #false关闭swagger文档 true打开swagger