springboot 设置 session 过期时间

application.properties

server.session.timeout=86400  #单位(s)  这里是24小时

猜你喜欢

转载自www.cnblogs.com/kinome/p/10407473.html