0
点赞
收藏
分享

微信扫一扫

若依微服务如何设置令牌有效期?


可以在​​ruoyi-common-core​​​模块中的​​com.ruoyi.common.core.constant.CacheConstants​​类中设置。

/**
* 缓存有效期,默认720(分钟)
*/
public final static long EXPIRATION = 720;

/**
* 缓存刷新时间,默认120(分钟)
*/
public final static long REFRESH_TIME = 120;

 

举报

相关推荐

0 条评论