jiangping
2025-05-22 c115722130eb11af68ab639835a266ca9e2b4c9c
server/meeting/meeting_admin/src/main/resources/application.yml
@@ -27,7 +27,7 @@
  mapper-locations: classpath*:/mappers/**/*.xml
  configuration:
    map-underscore-to-camel-case: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    log-impl: com.doumee.config.mybatis.DmStdOutImpl
# 缓存内容设置
@@ -54,25 +54,8 @@
# dao层的日志设置为debug,方便查看sql
logging:
  level:
    doumeemes.dao: debug
    com.doumee.dao: debug
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password: 111111
  main:
    allow-circular-references: true
# Swagger配置
swagger:
  host:
  title: ${project.name}接口文档
  description: ${project.name}接口文档
  enabled: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
# WEB服务器配置
server:
@@ -85,4 +68,15 @@
    max-swallow-size: -1
  servlet:
    session:
      timeout: PT3H  #表示12小时
      timeout: PT3H  #表示12小时
auth:
  jwt:
    enabled: true   #是否开启JWT登录认证功能
    secret: fjkfaf;afa  # JWT私钥,用于校验JWT令牌的合法性
    expiration: 1800000 #JWT令牌的有效期,用于校验JWT令牌的合法性
    #    expiration: 300000 #JWT令牌的有效期,用于校验JWT令牌的合法性
    header: JWTHeaderName #HTTP请求的Header名称,该Header作为参数传递JWT令牌
    userParamName: username  #用户登录认证用户名参数名称
    pwdParamName: password  #用户登录认证密码参数名称
    useDefaultController: true # 是否使用默认的JwtAuthController