
c-starter-plugins-quartz-server.1.1.0-beta1.source-code.application.yml Maven / Gradle / Ivy
#工程访问配置
server:
tomcat:
uri-encoding: UTF-8
max-threads: 1000
min-spare-threads: 30
port: 8082
connection-timeout: 5000ms
servlet:
context-path: /gc-starter-plugins-quartz-server
#spring环境配置
spring:
profiles:
# 运行环境 dev|test|prod,根据active动态加载application-active.yml配置文件
active: dev
# jackson时间格式化
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
main:
allow-bean-definition-overriding: true
#静态资源配置
mvc:
throw-exception-if-no-handler-found: true
# 静态资源访问接口前缀
static-path-pattern: /static/**
view:
prefix: classpath:/static/
suffix: .html
resources:
add-mappings: true
# 静态资源路径
static-locations: classpath:/static/,classpath:/META-INF/resources/,classpath:/META-INF/resources/webjars/,file:D:\gc-starter-server\files
#mybatis
mybatis-plus:
# mybatis xml配置文件扫描
mapper-locations: classpath*:mapper/**/*.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.gccloud.starter.authority.service.dao
global-config:
db-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
capital-mode: true
#删除时的值
logic-delete-value: 1
#未删除的值
logic-not-delete-value: 0
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
© 2015 - 2025 Weber Informatics LLC | Privacy Policy