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