package me.qwq.doghouse.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 86400)  //session 过期时间 24h
@ConditionalOnProperty(prefix = "doghouse", name = "spring-session-open", havingValue = "true")
public class SpringSessionConfig {

}
