server:
|
port: 8090
|
servlet:
|
context-path: /
|
tomcat:
|
uri-encoding: UTF-8
|
max-threads: 800
|
min-spare-threads: 30
|
|
logging:
|
level:
|
com.ots: debug
|
org.springframework: warn
|
|
user:
|
password:
|
maxRetryCount: 5
|
|
spring:
|
thymeleaf:
|
mode: HTML
|
encoding: utf-8
|
cache: false
|
messages:
|
basename: static/i18n/messages
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
profiles:
|
active: sand
|
servlet:
|
multipart:
|
max-file-size: 10MB
|
max-request-size: 20MB
|
devtools:
|
restart:
|
enabled: true
|
|
mybatis:
|
typeAliasesPackage: com.ots.project
|
mapperLocations: classpath:mybatis/**/*Mapper.xml
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
pagehelper:
|
helperDialect: mysql
|
reasonable: true
|
supportMethodsArguments: true
|
params: count=countSql
|
|
shiro:
|
user:
|
loginUrl: /login
|
unauthorizedUrl: /unauth
|
indexUrl: /index
|
captchaEnabled: true
|
captchaType: math
|
cookie:
|
domain:
|
path: /
|
httpOnly: true
|
maxAge: 30
|
session:
|
expireTime: 30
|
dbSyncPeriod: 1
|
validationInterval: 10
|
maxSession: -1
|
kickoutAfter: false
|
|
xss:
|
enabled: true
|
excludes: /system/notice/*
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
|
gen:
|
author: ots
|
packageName: com.ots.project
|
autoRemovePre: true
|
tablePrefix: sys_
|