Package cn.sinozg.applet.common.sa
Class StpInterfaceImpl
java.lang.Object
cn.sinozg.applet.common.sa.StpInterfaceImpl
- All Implemented Interfaces:
cn.dev33.satoken.stp.StpInterface
@Component
public class StpInterfaceImpl
extends Object
implements cn.dev33.satoken.stp.StpInterface
接口选取
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPermissionList(Object loginId, String loginType) 获取权限集合getRoleList(Object loginId, String loginType) 获取角色集合
-
Constructor Details
-
StpInterfaceImpl
public StpInterfaceImpl()
-
-
Method Details
-
getPermissionList
获取权限集合- Specified by:
getPermissionListin interfacecn.dev33.satoken.stp.StpInterface- Parameters:
loginId- 登录idloginType- 登录类型- Returns:
- 权限集合
-
getRoleList
获取角色集合- Specified by:
getRoleListin interfacecn.dev33.satoken.stp.StpInterface- Parameters:
loginId- 登录idloginType- 登录类型- Returns:
- 角色集合
-