|
|
@ -21,7 +21,7 @@ public class UserCenter { |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private RedisUtil redisUtil; |
|
|
|
private RedisUtil redisUtil; |
|
|
|
private final int EXPIRE = 3600 * 24 * 3; // 登录过期时间为3天
|
|
|
|
private final int EXPIRE = 3600 * 24 * 30; // 登录过期时间为30天
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 保存登录信息 |
|
|
|
* 保存登录信息 |
|
|
|