49 lines
1.5 KiB
Properties
49 lines
1.5 KiB
Properties
|
|
spring.application.name=fourcal
|
||
|
|
server.port=8282
|
||
|
|
server.context-path=/fourcal
|
||
|
|
app.version=0.0.1
|
||
|
|
spring.profiles.active=dev
|
||
|
|
|
||
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||
|
|
spring.datasource.initialSize=10
|
||
|
|
spring.datasource.minIdle=20
|
||
|
|
spring.datasource.maxActive=300
|
||
|
|
spring.datasource.maxWait=30000
|
||
|
|
spring.datasource.timeBetweenEvictionRunsMillis=120000
|
||
|
|
spring.datasource.minEvictableIdleTimeMillis=120000
|
||
|
|
spring.datasource.validationQuery=SELECT 1 FROM DUAL
|
||
|
|
spring.datasource.testWhileIdle=true
|
||
|
|
spring.datasource.testOnBorrow=false
|
||
|
|
spring.datasource.testOnReturn=false
|
||
|
|
spring.datasource.poolPreparedStatements=true
|
||
|
|
spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
|
||
|
|
|
||
|
|
spring.freemarker.suffix=.ftl
|
||
|
|
spring.freemarker.cache=false
|
||
|
|
spring.freemarker.settings.numberFormat=#
|
||
|
|
spring.freemarker.request-context-attribute=request
|
||
|
|
spring.freemarker.expose-request-attributes=true
|
||
|
|
spring.freemarker.expose-session-attributes=true
|
||
|
|
spring.freemarker.allow-request-override=true
|
||
|
|
spring.freemarker.allow-session-override=true
|
||
|
|
|
||
|
|
multipart.maxFileSize=10Mb
|
||
|
|
multipart.maxRequestSize=10Mb
|
||
|
|
spring.http.multipart.maxFileSize=10Mb
|
||
|
|
spring.http.multipart.maxRequestSize=10Mb
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
fourcal.token.api.prefix=fourcalapi
|
||
|
|
fourcal.token.api.expires=60*60*24
|
||
|
|
fourcal.token.pc.prefix=fourcalpc
|
||
|
|
fourcal.token.pc.expires=60*60*24
|
||
|
|
|
||
|
|
fourcal.excluded.client.urls=
|
||
|
|
fourcal.excluded.pc.urls=
|
||
|
|
#\u6392\u9664\u67D0\u4E9B\u65E5\u5FD7\u7684\u6253\u5370
|
||
|
|
fourcal.log.excluded.urls=
|
||
|
|
|
||
|
|
|
||
|
|
fourcal.slideInterval=1800000
|