Commit d44b4567 authored by suntao's avatar suntao

session 3个小时有效期

parent 3ab06fca
...@@ -14,7 +14,7 @@ import org.springframework.scheduling.annotation.EnableAsync; ...@@ -14,7 +14,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableRedisHttpSession(maxInactiveIntervalInSeconds=10800, redisNamespace = "spring:session:boss:expires") @EnableRedisHttpSession(maxInactiveIntervalInSeconds=10800, redisNamespace = "boss")
@EnableTransactionManagement @EnableTransactionManagement
@SpringBootApplication(scanBasePackages = {"cn.quantgroup.cashloanflowboss"}) @SpringBootApplication(scanBasePackages = {"cn.quantgroup.cashloanflowboss"})
@Configuration @Configuration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment