Commit df735278 authored by xiaozhe.chen's avatar xiaozhe.chen

添加修改手机号后台管理接口

parent e713d635
......@@ -4,11 +4,9 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
@Configuration
@EnableAspectJAutoProxy
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 24 * 60 * 60)
@SpringBootApplication(scanBasePackages = {
"cn.quantgroup.customer"
})
......
......@@ -8,7 +8,7 @@ public interface Constant {
String COOKIE_NAME = "SESSION";
String CUSTOMER_SESSION_NAMESPACE = "CUSTOMER:SESSION_NAMESPACE";
String SPRING_SECURITY_CONTEXT = "SPRING_SECURITY_CONTEXT";
int COOKIE_AND_SESSION_EXPIRE_TIMEOUT_SECONDS = 86400;
int COOKIE_AND_SESSION_EXPIRE_TIMEOUT_SECONDS = 24 * 60 * 60;
String LOGIN_SUCCESS = "登录成功";
......
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