whycxzp
2025-05-12 2562c8881203fd10c45c97f1aad4a2ed85f030bd
session过期时间设置用不超时
2个文件已修改
4 ■■■■ 已修改文件
src/main/resources/config/application-dev.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/config/application-prod.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/config/application-dev.yml
@@ -6,7 +6,7 @@
    context-path: /bg
    session:
      #session超时时间,默认30分钟
      timeout: 30m
      timeout: -1
      cookie:
        name: bg
        http-only: true
src/main/resources/config/application-prod.yml
@@ -5,7 +5,7 @@
  servlet:
    context-path: /bg
    session:
      timeout: 30m
      timeout: -1
      cookie:
        name: bg
        http-only: true