sa两套鉴权合并为一套
This commit is contained in:
parent
c3a965a08a
commit
3b28e63d67
|
|
@ -31,7 +31,7 @@ public class StpInterfaceImpl implements StpInterface {
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static @Nullable List<String> getCashInfo(String key) {
|
private static List<String> getCashInfo(String key) {
|
||||||
Object value = StpKit.USER.getSession().get(key);
|
Object value = StpKit.USER.getSession().get(key);
|
||||||
if (value instanceof List<?> list) {
|
if (value instanceof List<?> list) {
|
||||||
return (List<String>) list;
|
return (List<String>) list;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue