chenrui
5 天以前 2b6aeba9a6b77d2041770e624ca7e497ba167796
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
# 用户配置
@@ -68,13 +69,13 @@
  # redis 配置
  redis:
    # 地址
    host: localhost
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password:
    password: root2022!
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -100,7 +101,7 @@
# MyBatis Plus配置
mybatis-plus:
  # 搜索指定包别名   根据自己的项目来
  typeAliasesPackage: com.ruoyi.basic.**.pojo
  typeAliasesPackage: com.ruoyi.**.pojo
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件