#项目相关配置 #名称 huaheng.name=huaheng #版本 huaheng.version=2.3.0 #版权年份 huaheng.copyrightYear=2018 #头像上传路径 huaheng.profile=D:/profile/ # 获取ip地址开关 huaheng.addressEnabled=false #开发环境配置 #服务端口 server.port=8888 # 项目contextPath server.servlet.context-path=/ # tomcat的URI编码 server.tomcat.uri-encoding=UTF-8 # tomcat最大线程数,默认为200 server.tomcat.max-threads=800 # Tomcat启动初始化的线程数,默认值25 server.tomcat.min-spare-threads=30 #日志配置 logging.level.com.huaheng=debug logging.level.org.springframework=WARN logging.level.org.spring.springboot.dao=debug #用户配置 #密码错误5次锁定10分钟 user.password.maxRetryCount=5 #Spring配置 spring.thymeleaf.mode=HTML spring.thymeleaf.encoding=utf-8 # 禁用缓存 spring.thymeleaf.cache=false #国际化资源文件路径 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 #文件上传 spring.servlet.multipart.max-file-size=30MB spring.servlet.multipart.max-request-size=30MB #热部署开关 spring.devtools.restart.enabled=true # MyBatis # 搜索指定包别名 mybatis.typeAliasesPackage=com.huaheng.pc # 配置mapper的扫描,找到所有的mapper.xml映射文件 mybatis.mapperLocations=classpath:mybatis/**/*Mapper*.xml # 加载全局的配置文件 mybatis.configLocation=classpath:mybatis/mybatis-config.xml # PageHelper pagehelper.helperDialect=mysql pagehelper.reasonable=true pagehelper.supportMethodsArguments=true pagehelper.pparams=count=countSql # Shiro # 登录地址 shiro.user.loginUrl=/login # 权限认证失败地址 shiro.user.unauthorizedUrl=/unauth # 首页地址 shiro.user.indexUrl=/index # 验证码开关 shiro.user.captchaEnabled=false # 验证码类型 math 数组计算 char 字符 shiro.user.captchaType=math # 设置Cookie的域名 默认空,即当前访问的域名 shiro.cookie.domain = # 设置cookie的有效访问路径 shiro.cookie.path=/ # 设置HttpOnly属性 shiro.cookie.httpOnly=true # 设置Cookie的过期时间,天为单位 shiro.cookie.maxAge=30 # Session超时时间(默认30分钟) shiro.session.expireTime=30 # 同步session到数据库的周期(默认1分钟) shiro.session.dbSyncPeriod=1 # 相隔多久检查一次session的有效性,默认就是10分钟 shiro.session.validationInterval=10 # 防止XSS攻击 # 过滤开关 xss.enabled=true # 排除链接(多个用逗号分隔) xss.excludes=/system/notice/* # 匹配链接 xss.urlPatterns=/system/*,/monitor/*,/tool/* # 代码生成 # 作者 gen.author=huaheng # 默认生成包路径 module 需改成自己的模块名称 如 system monitor tool gen.packageName=com.huaheng.pc.task # 自动去除表前缀,默认是true gen.autoRemovePre=false # 表前缀(类名不会包含表前缀) gen.tablePrefix=sys_