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 Details

    • StpInterfaceImpl

      public StpInterfaceImpl()
  • Method Details

    • getPermissionList

      public List<String> getPermissionList(Object loginId, String loginType)
      获取权限集合
      Specified by:
      getPermissionList in interface cn.dev33.satoken.stp.StpInterface
      Parameters:
      loginId - 登录id
      loginType - 登录类型
      Returns:
      权限集合
    • getRoleList

      public List<String> getRoleList(Object loginId, String loginType)
      获取角色集合
      Specified by:
      getRoleList in interface cn.dev33.satoken.stp.StpInterface
      Parameters:
      loginId - 登录id
      loginType - 登录类型
      Returns:
      角色集合