Commit abe49ae3 by guojuxing

权限控制加入gic基础服务版本逻辑

parent 711cab91
......@@ -34,6 +34,10 @@ public class MenuListQO extends PageQO{
* 是否需要更新应用列表数据
*/
private boolean needUpdateAppMenu;
/**
* 商户版本
*/
private String versionCode;
public String getSearch() {
return search;
......@@ -82,4 +86,12 @@ public class MenuListQO extends PageQO{
public void setProject(String project) {
this.project = project;
}
public String getVersionCode() {
return versionCode;
}
public void setVersionCode(String versionCode) {
this.versionCode = versionCode;
}
}
......@@ -34,17 +34,19 @@ public interface MenuApiService {
* @Description:

 * @author guojuxing
* @param userId

* @param versionCode 商户服务订购的版本
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> listUserMenu(Integer userId);
ServiceResponse<List<MenuDTO>> listUserMenu(Integer userId, String versionCode);
/**
* 获取登陆用户的菜单(页面)
* @param userId
* @param currentMenu
* @param versionCode 商户服务订购的版本
* @return
*/
ServiceResponse<List<MenuDTO>> getUserMenuOfGic(Integer userId, Integer currentMenu);
ServiceResponse<List<MenuDTO>> getUserMenuOfGic(Integer userId, Integer currentMenu, String versionCode);
/**
* 根据用户ID查询没拥有的gic操作项
......@@ -52,16 +54,18 @@ public interface MenuApiService {
* @Description:

 * @author guojuxing
* @param userId

* @param versionCode 商户服务订购的版本
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> getNoAuthOperationItemOfGic(Integer userId);
ServiceResponse<List<MenuDTO>> getNoAuthOperationItemOfGic(Integer userId, String versionCode);
/**
* 获取超级管理员菜单
* @param userId
* @param versionCode 商户服务订购的版本
* @return
*/
ServiceResponse<List<MenuDTO>> getSuperAdminMenu(Integer userId);
ServiceResponse<List<MenuDTO>> getSuperAdminMenu(Integer userId, String versionCode);
/**
* 查询gic菜单页面树数据
......@@ -79,18 +83,20 @@ public interface MenuApiService {
* @Description:

 * @author guojuxing
* @param project

* @param versionCode gic商户基础服务版本
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> listMenuTreeForRole(String project);
ServiceResponse<List<MenuDTO>> listMenuTreeForRole(String project, String versionCode);
/**
* 查询菜单树(页面&权限项)
* @Title: listMenuTreeForRoleOfGic

* @Description:

 * @author guojuxing 

* @param versionCode gic商户基础服务版本
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>


 */
ServiceResponse<List<MenuDTO>> listMenuTreeForRoleOfGic();
ServiceResponse<List<MenuDTO>> listMenuTreeForRoleOfGic(String versionCode);
/**
* 查询页面下面的操作项列表数据
......
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