mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 19:51:56 +08:00
2024-09-16 暴露tokenservice
This commit is contained in:
@@ -15,8 +15,8 @@ import java.util.concurrent.TimeUnit;
|
|||||||
/**
|
/**
|
||||||
* Created with IntelliJ IDEA.
|
* Created with IntelliJ IDEA.
|
||||||
*
|
*
|
||||||
* @Author: 黎宇
|
* @Author:
|
||||||
* @Date: 2023/08/06/15:05
|
* @Date: 18点29分
|
||||||
* @Description: 用户token管理
|
* @Description: 用户token管理
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -24,6 +24,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
@Component
|
@Component
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class CustomerTokenService {
|
public class CustomerTokenService {
|
||||||
|
|
||||||
private final RedisService redisService;
|
private final RedisService redisService;
|
||||||
/**
|
/**
|
||||||
* token过期时间
|
* token过期时间
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
com.ruoyi.common.redis.configure.RedisConfig
|
com.ruoyi.common.redis.configure.RedisConfig
|
||||||
com.ruoyi.common.redis.service.RedisService
|
com.ruoyi.common.redis.service.RedisService
|
||||||
|
com.ruoyi.common.redis.service.CustomerTokenService
|
||||||
|
|||||||
Reference in New Issue
Block a user