Token有效期改为7天

pull/5177/head
zhangdaiscott 2023-07-18 16:58:10 +08:00
parent 96b3ba6e9a
commit 04dd6b056f
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ import org.jeecg.common.util.oConvertUtils;
**/ **/
public class JwtUtil { public class JwtUtil {
/**Token有效期为24小时Token在reids中缓存时间乘以2*/ /**Token有效期为7天Token在reids中缓存时间为两倍*/
public static final long EXPIRE_TIME = 12 * 60 * 60 * 1000; public static final long EXPIRE_TIME = (7 * 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;
/** /**