doum
2025-09-11 7298d5354963a88643a543b51b90192dc9fc934c
server/system_timer/src/main/resources/application.yml
@@ -29,13 +29,13 @@
  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
# 缓存内容设置
cache:
  session:
    # 会话过期时长(s)
    expire: 18000
    expire: 1800
  captcha:
    # 验证码过期时长(s)
    expire: 300
@@ -68,3 +68,13 @@
  servlet:
    session:
      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