zss
2 天以前 179c9d6b6a98292e4e2bec9a01c620d38d13c54a
src/main/resources/application.yml
@@ -7,7 +7,8 @@
  # 版权年份
  copyrightYear: 2025
  # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  profile: D:/ruoyi/uploadPath
#  profile: D:/ruoyi/uploadPath
  profile: /javaWork/product-inventory-management/file
  # 获取ip地址开关
  addressEnabled: false
  # 验证码类型 math 数字计算 char 字符验证
@@ -16,7 +17,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8080
  port: 7003
  servlet:
    # 应用的访问路径
    context-path: /
@@ -34,7 +35,7 @@
# 日志配置
logging:
  level:
    com.ruoyi: debug
    com.ruoyi: warn
    org.springframework: warn
# 用户配置
@@ -57,24 +58,26 @@
  servlet:
    multipart:
      # 单个文件大小
      max-file-size: 10MB
      max-file-size: 1GB
      # 设置总上传的文件大小
      max-request-size: 20MB
      max-request-size: 2GB
  # 服务模块
  devtools:
    restart:
      # 热部署开关
      enabled: true
      enabled: false
  # redis 配置
  redis:
    # 地址
    host: localhost
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password:
    password: root2022!
#    password: 123456
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -100,7 +103,7 @@
# MyBatis Plus配置
mybatis-plus:
  # 搜索指定包别名   根据自己的项目来
  typeAliasesPackage: com.ruoyi.basic.**.pojo
  typeAliasesPackage: com.ruoyi.**.pojo
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件