feat:提交角色授权

This commit is contained in:
曾文豪
2024-08-07 22:15:40 +08:00
parent 0f5cdb49c0
commit ba80cebc45
9 changed files with 243 additions and 96 deletions

View File

@@ -10,6 +10,8 @@ import com.tiesheng.util.service.cache.TsCacheHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Set;
@Service
public class TsCacheService {
@@ -63,6 +65,17 @@ public class TsCacheService {
tsCacheHandler.remove(key);
}
/**
* 获取key
*
* @param pattern
* @return
*/
public Set<String> keys(String pattern) {
return tsCacheHandler.keys(pattern);
}
///////////////////////////////////////////////////////////////////////////
// 图形验证码
///////////////////////////////////////////////////////////////////////////