liding
2025-05-26 0050395dfb05425f0a929bc1587b971d78f1e95e
src/main/resources/application.yml
@@ -16,7 +16,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8080
  port: 7003
  servlet:
    # 应用的访问路径
    context-path: /
@@ -34,7 +34,7 @@
# 日志配置
logging:
  level:
    com.ruoyi: debug
    com.ruoyi: warn
    org.springframework: warn
# 用户配置
@@ -68,13 +68,13 @@
  # redis 配置
  redis:
    # 地址
    host: localhost
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password:
    password: root2022!
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -95,13 +95,12 @@
  # 令牌密钥
  secret: abcdefghijklmnopqrstuvwxyz
  # 令牌有效期(默认30分钟)
  expireTime: 30
  expireTime: 450
  
# MyBatis Plus配置
# MyBatis Plus配置
mybatis-plus:
  # 搜索指定包别名   根据自己的项目来
  typeAliasesPackage: com.ruoyi.basic.**.pojo
  typeAliasesPackage: com.ruoyi.**.pojo
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件
@@ -120,7 +119,7 @@
# Swagger配置
swagger:
  # 是否开启swagger
  enabled: true
  enabled: false
  # 请求前缀
  pathMapping: /dev-api