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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# Tomcat
server :
tomcat :
uri-encoding : UTF-8
port : 8080
servlet :
context-path : /yiyuanguanhaojiuzhen
spring :
datasource :
driverClassName : com.mysql.cj.jdbc.Driver
url : jdbc:mysql://127.0.0.1:3306/yiyuanguanhaojiuzhen?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
username : root
password : 123456
servlet :
multipart :
max-file-size : 1000MB
max-request-size : 1000MB
resources :
static-locations : classpath:static/,file:static/
#mybatis
mybatis-plus :
mapper-locations : classpath*:mapper/*.xml
#实体扫描, 多个package用逗号或者分号分隔
typeAliasesPackage : com.entity
global-config :
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type : 1
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy : 2
#驼峰下划线转换
db-column-underline : true
#刷新mapper 调试神器
refresh-mapper : true
#逻辑删除配置
logic-delete-value : -1
logic-not-delete-value : 0
#自定义SQL注入器
sql-injector : com.baomidou.mybatisplus.mapper.LogicSqlInjector
configuration :
map-underscore-to-camel-case : true
cache-enabled : false
call-setters-on-nulls : true
#springboot 项目mybatis plus 设置 jdbcTypeForNull (oracle数据库需配置JdbcType.NULL, 默认是Other)
jdbc-type-for-null : 'null'
#打印sql语句
logging :
level :
com.dao : debug