Commit ca0e804d by guojuxing

用户路由权限

parent 0fc49cca
......@@ -11,4 +11,19 @@ public class MenuProjectConstants {
* 默认项目
*/
public final static String DEFAULT_PROJECT = "gic";
/**
* gic
*/
public final static int DEFAULT_PROJECT_CODE = 1;
/**
* app
*/
public final static int APP_PROJECT_CODE = 2;
/**
* all
*/
public final static int ALL_CODE = 3;
}
......@@ -18,20 +18,39 @@ import java.util.List;
*/
public interface MenuApiService {
/**
* 获取登陆用户的菜单
* 查询用户拥有的所有菜单路由权限
* @Title: listUserMenu

* @Description:

 * @author guojuxing
* @param userId

* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> listUserMenu(Integer userId);
/**
* 获取登陆用户的菜单(页面)
* @param userId
* @param enterpriseId
* @param currentMenu
* @return
*/
ServiceResponse<List<MenuDTO>> getUserMenu(Integer userId, Integer enterpriseId, Integer currentMenu);
ServiceResponse<List<MenuDTO>> getUserMenuOfGic(Integer userId, Integer currentMenu);
/**
* 根据用户ID查询拥有的gic操作项
* @Title: getUserOperationItemOfGic

* @Description:

 * @author guojuxing
* @param userId

* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> getUserOperationItemOfGic(Integer userId);
/**
* 获取超级管理员菜单
* @param userId
* @param enterpriseId
* @return
*/
ServiceResponse<List<MenuDTO>> getSuperAdminMenu(Integer userId, Integer enterpriseId);
ServiceResponse<List<MenuDTO>> getSuperAdminMenu(Integer userId);
/**
* 查询gic菜单页面树数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment