mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-28 11:03:43 +00:00
Token有效期改为24小时
This commit is contained in:
@@ -36,8 +36,8 @@ import org.jeecg.common.util.oConvertUtils;
|
|||||||
**/
|
**/
|
||||||
public class JwtUtil {
|
public class JwtUtil {
|
||||||
|
|
||||||
/**Token有效期为1小时(Token在reids中缓存时间为两倍)*/
|
/**Token有效期为24小时(Token在reids中缓存时间乘以2)*/
|
||||||
public static final long EXPIRE_TIME = 60 * 60 * 1000;
|
public static final long EXPIRE_TIME = 12 * 60 * 60 * 1000;
|
||||||
static final String WELL_NUMBER = SymbolConstant.WELL_NUMBER + SymbolConstant.LEFT_CURLY_BRACKET;
|
static final String WELL_NUMBER = SymbolConstant.WELL_NUMBER + SymbolConstant.LEFT_CURLY_BRACKET;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user