feat(core): 封禁模块新增支持实时从数据库查询数据

This commit is contained in:
click33
2025-01-11 21:49:58 +08:00
parent a4be9928aa
commit 5c0ca64a00
4 changed files with 154 additions and 15 deletions

View File

@@ -1,12 +1,11 @@
package com.pj.satoken;
import cn.dev33.satoken.stp.StpInterface;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Component;
import cn.dev33.satoken.stp.StpInterface;
/**
* 自定义权限认证接口扩展Sa-Token 将从此实现类获取每个账号拥有的权限码
*