xiangpei
2025-02-11 cd6de797868cd3ba10b4bd7fad0d3fdea208b2d5
start/src/main/resources/application.yml
@@ -1,18 +1,3 @@
# 项目相关配置
ycl:
  # 名称
  name: RuoYi
  # 版本
  version: 1.0.0
  # 版权年份
  copyrightYear: 2024
  # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  profile: D:/ruoyi/uploadPath
  # 获取ip地址开关
  addressEnabled: false
  # 验证码类型 math 数字计算 char 字符验证
  captchaType: math
# mybatis plus配置
mybatis-plus:
@@ -20,7 +5,7 @@
  # 实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.ycl.**.domain
  configuration:
    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 通用枚举处理器
    default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 通用枚举处理器
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  global-config:
    db-config:
@@ -36,7 +21,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8080
  port: 10076
  servlet:
    # 应用的访问路径
    context-path: /
@@ -56,6 +41,8 @@
  level:
    com.ruoyi: debug
    org.springframework: warn
    org.flowable.engine.impl.persistence.entity.*: debug
    org.flowable.task.service.impl.persistence.entity.*: debug
# 用户配置
user:
@@ -77,14 +64,18 @@
  servlet:
    multipart:
      # 单个文件大小
      max-file-size: 10MB
      max-file-size: 100MB
      # 设置总上传的文件大小
      max-request-size: 20MB
      max-request-size: 100MB
  # 服务模块
  devtools:
    restart:
      # 热部署开关
      enabled: true
      enabled: false
  # 日期格式
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
# token配置
token:
@@ -93,7 +84,7 @@
  # 令牌密钥
  secret: gfabcdefghijklmnopqrstuvwxyz12
  # 令牌有效期(默认30分钟)
  expireTime: 30
  expireTime: 10000
# PageHelper分页插件
pagehelper:
@@ -118,17 +109,3 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
# 工作流 Flowable 配置
flowable:
  database-schema: project_management
  database-schema-update: true  # 自动更新flowable表结构,第一次连接数据库时可以设置为true
  # 关闭各个模块生成表,目前只使用工作流基础表
  idm:
    enabled: false
  cmmn:
    enabled: false
  dmn:
    enabled: false
  app:
    enabled: false