mirror of https://github.com/jeecgboot/jeecg-boot
Token有效期改为7天
parent
96b3ba6e9a
commit
04dd6b056f
|
@ -36,8 +36,8 @@ import org.jeecg.common.util.oConvertUtils;
|
|||
**/
|
||||
public class JwtUtil {
|
||||
|
||||
/**Token有效期为24小时(Token在reids中缓存时间乘以2)*/
|
||||
public static final long EXPIRE_TIME = 12 * 60 * 60 * 1000;
|
||||
/**Token有效期为7天(Token在reids中缓存时间为两倍)*/
|
||||
public static final long EXPIRE_TIME = (7 * 12) * 60 * 60 * 1000;
|
||||
static final String WELL_NUMBER = SymbolConstant.WELL_NUMBER + SymbolConstant.LEFT_CURLY_BRACKET;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue