application.properties 5.17 KB
#\u9879\u76EE\u76F8\u5173\u914D\u7F6E
#\u540D\u79F0
huaheng.name=huaheng
#\u7248\u672C
huaheng.version=2.6.0
#\u7248\u6743\u5E74\u4EFD
huaheng.copyrightYear=2018
#\u5934\u50CF\u4E0A\u4F20\u8DEF\u5F84
huaheng.profile=C:/profile/
# \u83B7\u53D6ip\u5730\u5740\u5F00\u5173
huaheng.addressEnabled=false

#\u5F00\u53D1\u73AF\u5883\u914D\u7F6E
#\u6D4B\u8BD5\u670D\u52A1\u7AEF\u53E3\u3001\u6D4B\u8BD5\u9879\u76EEcontextPath
server.port=8888
server.servlet.context-path=/twms/
#\u793A\u4F8B\u670D\u52A1\u7AEF\u53E3\u3001\u793A\u4F8B\u9879\u76EEcontextPath
#server.port=8889
#server.servlet.context-path=/ewms/
#\u6B63\u5F0F\u670D\u52A1\u7AEF\u53E3\u3001\u6B63\u5F0F\u9879\u76EEcontextPath
#server.port=8016
#server.servlet.context-path=/wms/
# tomcat\u7684URI\u7F16\u7801
server.tomcat.uri-encoding=UTF-8
# tomcat\u6700\u5927\u7EBF\u7A0B\u6570\uFF0C\u9ED8\u8BA4\u4E3A200
server.tomcat.max-threads=800
# Tomcat\u542F\u52A8\u521D\u59CB\u5316\u7684\u7EBF\u7A0B\u6570\uFF0C\u9ED8\u8BA4\u503C25
server.tomcat.min-spare-threads=30

#\u65E5\u5FD7\u914D\u7F6E
logging.level.com.huaheng=DEBUG
logging.level.org.springframework=WARN
logging.level.org.spring.springboot.dao=DEBUG

#\u7528\u6237\u914D\u7F6E
#\u5BC6\u7801\u9519\u8BEF5\u6B21\u9501\u5B9A10\u5206\u949F
user.password.maxRetryCount=5

#Spring\u914D\u7F6E
spring.thymeleaf.mode=HTML
spring.thymeleaf.encoding=utf-8
# \u7981\u7528\u7F13\u5B58
spring.thymeleaf.cache=false
#\u56FD\u9645\u5316\u8D44\u6E90\u6587\u4EF6\u8DEF\u5F84
spring.messages.basename=i18n/messages
spring.jackson.time-zone=GMT+8
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.profiles.active=druid
#\u6587\u4EF6\u4E0A\u4F20
spring.servlet.multipart.max-file-size=30MB
spring.servlet.multipart.max-request-size=30MB
#\u70ED\u90E8\u7F72\u5F00\u5173
spring.devtools.restart.enabled=true
#activiti \u81EA\u52A8\u90E8\u7F72\u9A8C\u8BC1\u8BBE\u7F6E
#spring.activiti.check-process-definitions=false

mybatis-plus.mapper-locations=classpath:mybatis/**/*.xml
mybatis-plus.type-aliases-package=com.huaheng.pc.**.**.domain

# PageHelper
pagehelper.helperDialect=mysql
pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true
pagehelper.pparams=count=countSql

# Shiro
# \u767B\u5F55\u5730\u5740
shiro.user.loginUrl=/login
# \u6743\u9650\u8BA4\u8BC1\u5931\u8D25\u5730\u5740
shiro.user.unauthorizedUrl=/unauth
# \u9996\u9875\u5730\u5740
shiro.user.indexUrl=/index
# \u9A8C\u8BC1\u7801\u5F00\u5173
shiro.user.captchaEnabled=false
# \u9A8C\u8BC1\u7801\u7C7B\u578B math \u6570\u7EC4\u8BA1\u7B97 char \u5B57\u7B26
shiro.user.captchaType=math
# \u8BBE\u7F6ECookie\u7684\u57DF\u540D \u9ED8\u8BA4\u7A7A\uFF0C\u5373\u5F53\u524D\u8BBF\u95EE\u7684\u57DF\u540D
shiro.cookie.domain =
# \u8BBE\u7F6Ecookie\u7684\u6709\u6548\u8BBF\u95EE\u8DEF\u5F84
shiro.cookie.path=/
# \u8BBE\u7F6EHttpOnly\u5C5E\u6027
shiro.cookie.httpOnly=true
# \u8BBE\u7F6ECookie\u7684\u8FC7\u671F\u65F6\u95F4\uFF0C\u5929\u4E3A\u5355\u4F4D
shiro.cookie.maxAge=30
# Session\u8D85\u65F6\u65F6\u95F4\uFF08\u9ED8\u8BA430\u5206\u949F\uFF09
shiro.session.expireTime=30
# \u540C\u6B65session\u5230\u6570\u636E\u5E93\u7684\u5468\u671F\uFF08\u9ED8\u8BA41\u5206\u949F\uFF09
shiro.session.dbSyncPeriod=1
# \u76F8\u9694\u591A\u4E45\u68C0\u67E5\u4E00\u6B21session\u7684\u6709\u6548\u6027\uFF0C\u9ED8\u8BA4\u5C31\u662F10\u5206\u949F
shiro.session.validationInterval=10

# \u9632\u6B62XSS\u653B\u51FB
# \u8FC7\u6EE4\u5F00\u5173
xss.enabled=true
# \u6392\u9664\u94FE\u63A5\uFF08\u591A\u4E2A\u7528\u9017\u53F7\u5206\u9694\uFF09
xss.excludes=/system/notice/*
# \u5339\u914D\u94FE\u63A5
xss.urlPatterns=/system/*,/monitor/*,/tool/*

# \u4EE3\u7801\u751F\u6210
# \u4F5C\u8005
gen.author=huaheng
# \u9ED8\u8BA4\u751F\u6210\u5305\u8DEF\u5F84 module \u9700\u6539\u6210\u81EA\u5DF1\u7684\u6A21\u5757\u540D\u79F0 \u5982 system monitor tool
gen.packageName=com.huaheng.pc.task
# \u81EA\u52A8\u53BB\u9664\u8868\u524D\u7F00\uFF0C\u9ED8\u8BA4\u662Ftrue
gen.autoRemovePre=false
# \u8868\u524D\u7F00(\u7C7B\u540D\u4E0D\u4F1A\u5305\u542B\u8868\u524D\u7F00)
gen.tablePrefix=sys_

# default-store in spring session. it will be set in redis only outside.
spring.session.store-type=none
# REDIS (RedisProperties)
# Redis\u6570\u636E\u5E93\u7D22\u5F15\uFF08\u9ED8\u8BA4\u4E3A0\uFF09
spring.redis.database=0  
# Redis\u670D\u52A1\u5668\u5730\u5740
spring.redis.host=127.0.0.1
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3
spring.redis.port=6379  
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u5BC6\u7801\uFF08\u9ED8\u8BA4\u4E3A\u7A7A\uFF09
spring.redis.password=
# \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
#spring.redis.pool.max-active=8
spring.redis.jedis.pool.max-active=8
# \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
#spring.redis.pool.max-wait=-1
spring.redis.jedis.pool.max-wait=-1ms
# \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5
#spring.redis.pool.max-idle=8
spring.redis.jedis.pool.max-idle=8
# \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5
#spring.redis.pool.min-idle=0
spring.redis.jedis.pool.min-idle= 0
# \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09
spring.redis.timeout= 0  
spring.redis.lettuce.shutdown-timeout=0ms