xiangpei
2025-07-15 37325b5b629a296230e87d41187742f843c7494c
start/src/main/resources/application.yml
@@ -3,10 +3,11 @@
mybatis-plus:
  mapper-locations: classpath*:mapper/**/*.xml
  # 实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.hnct.**.domain
  typeAliasesPackage: com.ycl.**.domain
  configuration:
    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 通用枚举处理器
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
    shrink-whitespaces-in-sql: true #从SQL中删除多余的空格字符
    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 通用枚举处理器
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  global-config:
    db-config:
      id-type: auto
@@ -21,7 +22,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8080
  port: 10076
  servlet:
    # 应用的访问路径
    context-path: /
@@ -40,7 +41,10 @@
logging:
  level:
    com.ruoyi: debug
    com.ycl: debug
    org.springframework: warn
    org.flowable.engine.impl.persistence.entity.*: debug
    org.flowable.task.service.impl.persistence.entity.*: debug
# 用户配置
user:
@@ -62,23 +66,27 @@
  servlet:
    multipart:
      # 单个文件大小
      max-file-size: 10MB
      max-file-size: 1024MB
      # 设置总上传的文件大小
      max-request-size: 20MB
      max-request-size: 1024MB
  # 服务模块
  devtools:
    restart:
      # 热部署开关
      enabled: true
      enabled: false
  # 日期格式
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
# token配置
token:
  # 令牌自定义标识
  header: Authorization
  # 令牌密钥
  secret: abcdefghijklmnopqrstuvwxyz
  secret: gfabcdefghijklmnopqrstuvwxyz12
  # 令牌有效期(默认30分钟)
  expireTime: 30
  expireTime: 10000
# PageHelper分页插件
pagehelper:
@@ -101,3 +109,5 @@
  excludes: /system/notice
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*