linzhijie
2021-03-16 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7
src/main/resources/application.yml
@@ -39,15 +39,15 @@
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  profiles:
    active: online
  profiles:
    active: dev
  # 文件上传
  servlet:
     multipart:
       # 单个文件大小
       max-file-size:  10MB
       # 设置总上传的文件大小
       max-request-size:  20MB
    multipart:
      # 单个文件大小
      max-file-size:  10MB
      # 设置总上传的文件大小
      max-request-size:  20MB
  # 服务模块
  devtools:
    restart:
@@ -56,19 +56,19 @@
# MyBatis
mybatis:
    # 搜索指定包别名
    typeAliasesPackage: com.ots.project
    # 配置mapper的扫描,找到所有的mapper.xml映射文件
    mapperLocations: classpath:mybatis/**/*Mapper.xml
    # 加载全局的配置文件
    configLocation: classpath:mybatis/mybatis-config.xml
  # 搜索指定包别名
  typeAliasesPackage: com.ots.project
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath:mybatis/**/*Mapper.xml
  # 加载全局的配置文件
  configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
pagehelper:
  helperDialect: mysql
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql
  params: count=countSql
# Shiro
shiro:
@@ -85,7 +85,7 @@
    captchaType: math
  cookie:
    # 设置Cookie的域名 默认空,即当前访问的域名
    domain:
    domain:
    # 设置cookie的有效访问路径
    path: /
    # 设置HttpOnly属性
@@ -105,7 +105,7 @@
    kickoutAfter: false
# 防止XSS攻击
xss:
xss:
  # 过滤开关
  enabled: true
  # 排除链接(多个用逗号分隔)
@@ -114,7 +114,7 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
# 代码生成
gen:
gen:
  # 作者
  author: ots
  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool