com.wangshanhai.power.service.PermissionService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shanhai-power-spring-boot-starter Show documentation
Show all versions of shanhai-power-spring-boot-starter Show documentation
山海Power - 基于SpringBoot的权限组件,极致精简,只为满足简单需要。
The newest version!
package com.wangshanhai.power.service;
import com.wangshanhai.power.dto.RoutePermission;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
/**
* 权限服务
* @author Shmily
*/
public interface PermissionService {
/**
* 查询当前用户全部权限
*
* @param request
* @return
*/
public List queryAllPermission(HttpServletRequest request);
/**
* 获取路由权限
* @return
*/
default List loadRoutePermissionConfig() {
return null;
}
}