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.
70 lines
1.6 KiB
70 lines
1.6 KiB
3 years ago
|
spring:
|
||
|
servlet:
|
||
|
multipart:
|
||
|
max-file-size: 6MB
|
||
|
max-request-size: 12MB
|
||
|
profiles:
|
||
|
include: dev
|
||
|
main:
|
||
|
#easypoi启用覆盖
|
||
|
allow-bean-definition-overriding: true
|
||
|
#项目配置
|
||
|
project:
|
||
|
ignore-url:
|
||
|
tenants: #忽略租户拦截
|
||
|
- /portal/**
|
||
|
- /api/dev/** #测试接口
|
||
|
- /bpm/appr/getById/**
|
||
|
- /callback
|
||
|
- /favicon.ico
|
||
|
- /error
|
||
|
permits: #忽略登录
|
||
|
- /common/upload #支持API上传调整
|
||
|
- /common/validToken #验证token
|
||
|
- /api/**
|
||
|
- /bpm/appr/getById/**
|
||
|
- /portal/**
|
||
|
- /favicon.ico
|
||
|
- /error
|
||
|
- /callback
|
||
|
|
||
|
#mybatis plus
|
||
|
mybatis-plus:
|
||
|
mapper-locations: classpath:mapper/*/*.xml
|
||
|
type-aliases-package: com.qs.serve.modules.*.entity.*
|
||
|
configuration:
|
||
|
map-underscore-to-camel-case: true
|
||
|
global-config:
|
||
|
banner: false
|
||
|
db-config:
|
||
|
logic-delete-value: 1
|
||
|
logic-not-delete-value: 0
|
||
|
select-strategy: not_empty
|
||
|
logic-delete-field: delFlag
|
||
|
# 日志配置
|
||
|
logging:
|
||
|
level:
|
||
|
ROOT: info
|
||
|
com.qs.serve.modules: debug
|
||
|
org.xnio.nio: info
|
||
|
org.springframework: info
|
||
|
com.baomidou: info
|
||
|
org.mybatis: info
|
||
|
org.hibernate.validator: info
|
||
|
druid.sql.ResultSet: info
|
||
|
druid.sql.Connection: info
|
||
|
com.zaxxer.hikari.pool: info
|
||
|
com.zaxxer.hikari.HikariConfig: info
|
||
|
java.io: warn
|
||
|
io.netty: info
|
||
|
io.undertow: info
|
||
|
io.lettuce.core: info
|
||
|
config: classpath:log4j2.xml
|
||
|
# PageHelper分页插件
|
||
|
pagehelper:
|
||
|
reasonable: false
|
||
|
autoRuntimeDialect: true
|
||
|
supportMethodsArguments: true
|
||
|
params: count=countSql
|
||
|
|