修复角色菜单临时接口
This commit is contained in:
@@ -38,7 +38,7 @@ public class SysMenuDAO {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Integer batchDeleteMenu(List<Long> idList){
|
public Integer batchDeleteMenu(List<Long> idList){
|
||||||
if(CollectionUtils.isNotEmpty(idList)){
|
if(CollectionUtils.isEmpty(idList)){
|
||||||
return CommonConstants.ZERO;
|
return CommonConstants.ZERO;
|
||||||
}
|
}
|
||||||
return sysMenuMapper.batchDeleteMenu(idList);
|
return sysMenuMapper.batchDeleteMenu(idList);
|
||||||
|
|||||||
@@ -6,27 +6,17 @@
|
|||||||
<result column="parent_id" jdbcType="BIGINT" property="parentId"/>
|
<result column="parent_id" jdbcType="BIGINT" property="parentId"/>
|
||||||
<result column="code" jdbcType="VARCHAR" property="code"/>
|
<result column="code" jdbcType="VARCHAR" property="code"/>
|
||||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||||
<result column="alias" jdbcType="VARCHAR" property="alias"/>
|
|
||||||
<result column="path" jdbcType="VARCHAR" property="path"/>
|
<result column="path" jdbcType="VARCHAR" property="path"/>
|
||||||
<result column="perms" jdbcType="VARCHAR" property="perms"/>
|
|
||||||
<result column="source" jdbcType="VARCHAR" property="source"/>
|
|
||||||
<result column="sort" jdbcType="INTEGER" property="sort"/>
|
<result column="sort" jdbcType="INTEGER" property="sort"/>
|
||||||
<result column="category" jdbcType="INTEGER" property="category"/>
|
|
||||||
<result column="action" jdbcType="INTEGER" property="action"/>
|
|
||||||
<result column="remark" jdbcType="VARCHAR" property="remark"/>
|
<result column="remark" jdbcType="VARCHAR" property="remark"/>
|
||||||
<result column="platform" jdbcType="VARCHAR" property="platform"/>
|
|
||||||
<result column="is_deleted" jdbcType="INTEGER" property="isDeleted"/>
|
<result column="is_deleted" jdbcType="INTEGER" property="isDeleted"/>
|
||||||
<result column="type" jdbcType="VARCHAR" property="type"/>
|
<result column="type" jdbcType="VARCHAR" property="type"/>
|
||||||
<result column="target" jdbcType="VARCHAR" property="target"/>
|
|
||||||
<result column="component" jdbcType="VARCHAR" property="component"/>
|
|
||||||
<result column="icon" jdbcType="VARCHAR" property="icon"/>
|
<result column="icon" jdbcType="VARCHAR" property="icon"/>
|
||||||
<result column="menu_type" jdbcType="TINYINT" property="menuType"/>
|
<result column="menu_type" jdbcType="TINYINT" property="menuType"/>
|
||||||
<result column="env" jdbcType="VARCHAR" property="env"/>
|
<result column="env" jdbcType="VARCHAR" property="env"/>
|
||||||
<result column="common_functions_icon" jdbcType="VARCHAR" property="commonFunctionsIcon"/>
|
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, parent_id, code, name, alias, path, perms, source, sort, category, action, remark,
|
id, parent_id, code, name, path, sort, remark, is_deleted, type, icon, menu_type, env
|
||||||
platform, is_deleted, type, target, component, icon, menu_type, env, common_functions_icon
|
|
||||||
</sql>
|
</sql>
|
||||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" useGeneratedKeys="true">
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" useGeneratedKeys="true">
|
||||||
insert into sys_menu
|
insert into sys_menu
|
||||||
@@ -40,45 +30,21 @@
|
|||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
name,
|
name,
|
||||||
</if>
|
</if>
|
||||||
<if test="alias != null">
|
|
||||||
alias,
|
|
||||||
</if>
|
|
||||||
<if test="path != null">
|
<if test="path != null">
|
||||||
path,
|
path,
|
||||||
</if>
|
</if>
|
||||||
<if test="perms != null">
|
|
||||||
perms,
|
|
||||||
</if>
|
|
||||||
<if test="source != null">
|
|
||||||
source,
|
|
||||||
</if>
|
|
||||||
<if test="sort != null">
|
<if test="sort != null">
|
||||||
sort,
|
sort,
|
||||||
</if>
|
</if>
|
||||||
<if test="category != null">
|
|
||||||
category,
|
|
||||||
</if>
|
|
||||||
<if test="action != null">
|
|
||||||
action,
|
|
||||||
</if>
|
|
||||||
<if test="remark != null">
|
<if test="remark != null">
|
||||||
remark,
|
remark,
|
||||||
</if>
|
</if>
|
||||||
<if test="platform != null">
|
|
||||||
platform,
|
|
||||||
</if>
|
|
||||||
<if test="isDeleted != null">
|
<if test="isDeleted != null">
|
||||||
is_deleted,
|
is_deleted,
|
||||||
</if>
|
</if>
|
||||||
<if test="type != null">
|
<if test="type != null">
|
||||||
type,
|
type,
|
||||||
</if>
|
</if>
|
||||||
<if test="target != null">
|
|
||||||
target,
|
|
||||||
</if>
|
|
||||||
<if test="component != null">
|
|
||||||
component,
|
|
||||||
</if>
|
|
||||||
<if test="icon != null">
|
<if test="icon != null">
|
||||||
icon,
|
icon,
|
||||||
</if>
|
</if>
|
||||||
@@ -88,9 +54,6 @@
|
|||||||
<if test="env != null">
|
<if test="env != null">
|
||||||
env,
|
env,
|
||||||
</if>
|
</if>
|
||||||
<if test="commonFunctionsIcon != null">
|
|
||||||
common_functions_icon,
|
|
||||||
</if>
|
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="parentId != null">
|
<if test="parentId != null">
|
||||||
@@ -102,45 +65,21 @@
|
|||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
#{name},
|
#{name},
|
||||||
</if>
|
</if>
|
||||||
<if test="alias != null">
|
|
||||||
#{alias},
|
|
||||||
</if>
|
|
||||||
<if test="path != null">
|
<if test="path != null">
|
||||||
#{path},
|
#{path},
|
||||||
</if>
|
</if>
|
||||||
<if test="perms != null">
|
|
||||||
#{perms},
|
|
||||||
</if>
|
|
||||||
<if test="source != null">
|
|
||||||
#{source},
|
|
||||||
</if>
|
|
||||||
<if test="sort != null">
|
<if test="sort != null">
|
||||||
#{sort},
|
#{sort},
|
||||||
</if>
|
</if>
|
||||||
<if test="category != null">
|
|
||||||
#{category},
|
|
||||||
</if>
|
|
||||||
<if test="action != null">
|
|
||||||
#{action},
|
|
||||||
</if>
|
|
||||||
<if test="remark != null">
|
<if test="remark != null">
|
||||||
#{remark},
|
#{remark},
|
||||||
</if>
|
</if>
|
||||||
<if test="platform != null">
|
|
||||||
#{platform},
|
|
||||||
</if>
|
|
||||||
<if test="isDeleted != null">
|
<if test="isDeleted != null">
|
||||||
#{isDeleted},
|
#{isDeleted},
|
||||||
</if>
|
</if>
|
||||||
<if test="type != null">
|
<if test="type != null">
|
||||||
#{type},
|
#{type},
|
||||||
</if>
|
</if>
|
||||||
<if test="target != null">
|
|
||||||
#{target},
|
|
||||||
</if>
|
|
||||||
<if test="component != null">
|
|
||||||
#{component},
|
|
||||||
</if>
|
|
||||||
<if test="icon != null">
|
<if test="icon != null">
|
||||||
#{icon},
|
#{icon},
|
||||||
</if>
|
</if>
|
||||||
@@ -150,9 +89,6 @@
|
|||||||
<if test="env != null">
|
<if test="env != null">
|
||||||
#{env},
|
#{env},
|
||||||
</if>
|
</if>
|
||||||
<if test="commonFunctionsIcon != null">
|
|
||||||
#{commonFunctionsIcon},
|
|
||||||
</if>
|
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="batchUpdateMenu">
|
<update id="batchUpdateMenu">
|
||||||
@@ -168,45 +104,21 @@
|
|||||||
<if test="record.name != null">
|
<if test="record.name != null">
|
||||||
name = #{record.name},
|
name = #{record.name},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.alias != null">
|
|
||||||
alias = #{record.alias},
|
|
||||||
</if>
|
|
||||||
<if test="record.path != null">
|
<if test="record.path != null">
|
||||||
path = #{record.path},
|
path = #{record.path},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.perms != null">
|
|
||||||
perms = #{record.perms},
|
|
||||||
</if>
|
|
||||||
<if test="record.source != null">
|
|
||||||
source = #{record.source},
|
|
||||||
</if>
|
|
||||||
<if test="record.sort != null">
|
<if test="record.sort != null">
|
||||||
sort = #{record.sort},
|
sort = #{record.sort},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.category != null">
|
|
||||||
category = #{record.category},
|
|
||||||
</if>
|
|
||||||
<if test="record.action != null">
|
|
||||||
action = #{record.action},
|
|
||||||
</if>
|
|
||||||
<if test="record.remark != null">
|
<if test="record.remark != null">
|
||||||
remark = #{record.remark},
|
remark = #{record.remark},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.platform != null">
|
|
||||||
platform = #{record.platform},
|
|
||||||
</if>
|
|
||||||
<if test="record.isDeleted != null">
|
<if test="record.isDeleted != null">
|
||||||
is_deleted = #{record.isDeleted},
|
is_deleted = #{record.isDeleted},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.type != null">
|
<if test="record.type != null">
|
||||||
type = #{record.type},
|
type = #{record.type},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.target != null">
|
|
||||||
target = #{record.target},
|
|
||||||
</if>
|
|
||||||
<if test="record.component != null">
|
|
||||||
component = #{record.component},
|
|
||||||
</if>
|
|
||||||
<if test="record.icon != null">
|
<if test="record.icon != null">
|
||||||
icon = #{record.icon},
|
icon = #{record.icon},
|
||||||
</if>
|
</if>
|
||||||
@@ -216,9 +128,6 @@
|
|||||||
<if test="record.env != null">
|
<if test="record.env != null">
|
||||||
env = #{record.env},
|
env = #{record.env},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.commonFunctionsIcon != null">
|
|
||||||
common_functions_icon = #{record.commonFunctionsIcon},
|
|
||||||
</if>
|
|
||||||
</set>
|
</set>
|
||||||
where id = #{record.id}
|
where id = #{record.id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
@@ -42,11 +42,6 @@ public class AddMenuDTO {
|
|||||||
sysMenuDO.setCode(param.getName());
|
sysMenuDO.setCode(param.getName());
|
||||||
sysMenuDO.setPath(param.getPath());
|
sysMenuDO.setPath(param.getPath());
|
||||||
sysMenuDO.setType(param.getType());
|
sysMenuDO.setType(param.getType());
|
||||||
sysMenuDO.setSource("menu");
|
|
||||||
sysMenuDO.setAction(1);
|
|
||||||
sysMenuDO.setPlatform("PC");
|
|
||||||
sysMenuDO.setComponent(param.getComponent());
|
|
||||||
sysMenuDO.setTarget(param.getTarget());
|
|
||||||
sysMenuDO.setIcon(param.getIcon());
|
sysMenuDO.setIcon(param.getIcon());
|
||||||
sysMenuDO.setMenuType(menuTypeEnum.getCode());
|
sysMenuDO.setMenuType(menuTypeEnum.getCode());
|
||||||
return sysMenuDO;
|
return sysMenuDO;
|
||||||
|
|||||||
@@ -29,45 +29,21 @@ public class SysMenuDO implements Serializable {
|
|||||||
@ApiModelProperty("菜单名称")
|
@ApiModelProperty("菜单名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@ApiModelProperty("菜单别名")
|
|
||||||
private String alias;
|
|
||||||
|
|
||||||
@ApiModelProperty("请求地址(前端路由)")
|
@ApiModelProperty("请求地址(前端路由)")
|
||||||
private String path;
|
private String path;
|
||||||
|
|
||||||
@ApiModelProperty("后端权限标识")
|
|
||||||
private String perms;
|
|
||||||
|
|
||||||
@ApiModelProperty("菜单资源(图片)")
|
|
||||||
private String source;
|
|
||||||
|
|
||||||
@ApiModelProperty("排序")
|
@ApiModelProperty("排序")
|
||||||
private Integer sort;
|
private Integer sort;
|
||||||
|
|
||||||
@ApiModelProperty("菜单类型(菜单,按钮)")
|
|
||||||
private Integer category;
|
|
||||||
|
|
||||||
@ApiModelProperty("操作按钮类型(工具栏,操作栏,工具操作栏)")
|
|
||||||
private Integer action;
|
|
||||||
|
|
||||||
@ApiModelProperty("备注")
|
@ApiModelProperty("备注")
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@ApiModelProperty("所属项目(PC,小程序)")
|
|
||||||
private String platform;
|
|
||||||
|
|
||||||
@ApiModelProperty("是否已删除")
|
@ApiModelProperty("是否已删除")
|
||||||
private Integer isDeleted;
|
private Integer isDeleted;
|
||||||
|
|
||||||
@ApiModelProperty("操作类型")
|
@ApiModelProperty("操作类型")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
@ApiModelProperty("是否新开页面")
|
|
||||||
private String target;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件")
|
|
||||||
private String component;
|
|
||||||
|
|
||||||
@ApiModelProperty("图标")
|
@ApiModelProperty("图标")
|
||||||
private String icon;
|
private String icon;
|
||||||
|
|
||||||
@@ -76,7 +52,4 @@ public class SysMenuDO implements Serializable {
|
|||||||
|
|
||||||
@ApiModelProperty("环境")
|
@ApiModelProperty("环境")
|
||||||
private String env;
|
private String env;
|
||||||
|
|
||||||
@ApiModelProperty("常用功能_图标")
|
|
||||||
private String commonFunctionsIcon;
|
|
||||||
}
|
}
|
||||||
@@ -35,18 +35,9 @@ public class MenuAuthTreeVO {
|
|||||||
@ApiModelProperty("父级菜单")
|
@ApiModelProperty("父级菜单")
|
||||||
private Long parentId;
|
private Long parentId;
|
||||||
|
|
||||||
@ApiModelProperty("是否新开页面")
|
|
||||||
private String target;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件")
|
|
||||||
private String component;
|
|
||||||
|
|
||||||
@ApiModelProperty("图标'")
|
@ApiModelProperty("图标'")
|
||||||
private String icon;
|
private String icon;
|
||||||
|
|
||||||
@ApiModelProperty("常用功能图标")
|
|
||||||
private String commonFunctionsIcon;
|
|
||||||
|
|
||||||
@ApiModelProperty("菜单类型 1菜单 2权限")
|
@ApiModelProperty("菜单类型 1菜单 2权限")
|
||||||
private Integer menuType;
|
private Integer menuType;
|
||||||
|
|
||||||
@@ -83,11 +74,8 @@ public class MenuAuthTreeVO {
|
|||||||
vo.setName(menu.getName());
|
vo.setName(menu.getName());
|
||||||
vo.setCode(menu.getType());
|
vo.setCode(menu.getType());
|
||||||
vo.setPath(menu.getPath());
|
vo.setPath(menu.getPath());
|
||||||
vo.setComponent(menu.getComponent());
|
|
||||||
vo.setTarget(menu.getTarget());
|
|
||||||
vo.setIcon(menu.getIcon());
|
vo.setIcon(menu.getIcon());
|
||||||
vo.setMenuType(menu.getMenuType());
|
vo.setMenuType(menu.getMenuType());
|
||||||
vo.setCommonFunctionsIcon(menu.getCommonFunctionsIcon());
|
|
||||||
resultList.add(vo);
|
resultList.add(vo);
|
||||||
}
|
}
|
||||||
return resultList;
|
return resultList;
|
||||||
@@ -100,8 +88,6 @@ public class MenuAuthTreeVO {
|
|||||||
//属于菜单下时候
|
//属于菜单下时候
|
||||||
if (CollectionUtils.isNotEmpty(parentMenuList)) {
|
if (CollectionUtils.isNotEmpty(parentMenuList)) {
|
||||||
List<MenuAuthTreeVO> voList = convertVO(parentMenuList);
|
List<MenuAuthTreeVO> voList = convertVO(parentMenuList);
|
||||||
List<MenuAuthTreeVO> authorityList = convertVO(parentAuthList);
|
|
||||||
data.setAuthorityList(authorityList);
|
|
||||||
List<MenuAuthTreeVO> menuList = voList.stream().filter(vo -> MenuTypeEnum.MENU.getCode().equals(vo.getMenuType())).collect(Collectors.toList());
|
List<MenuAuthTreeVO> menuList = voList.stream().filter(vo -> MenuTypeEnum.MENU.getCode().equals(vo.getMenuType())).collect(Collectors.toList());
|
||||||
data.setChildren(menuList);
|
data.setChildren(menuList);
|
||||||
voList.forEach(child -> {
|
voList.forEach(child -> {
|
||||||
|
|||||||
@@ -35,18 +35,9 @@ public class MenuTreeVO {
|
|||||||
@ApiModelProperty("父级菜单")
|
@ApiModelProperty("父级菜单")
|
||||||
private Long parentId;
|
private Long parentId;
|
||||||
|
|
||||||
@ApiModelProperty("是否新开页面")
|
|
||||||
private String target;
|
|
||||||
|
|
||||||
@ApiModelProperty("组件")
|
|
||||||
private String component;
|
|
||||||
|
|
||||||
@ApiModelProperty("图标'")
|
@ApiModelProperty("图标'")
|
||||||
private String icon;
|
private String icon;
|
||||||
|
|
||||||
@ApiModelProperty("常用功能图标")
|
|
||||||
private String commonFunctionsIcon;
|
|
||||||
|
|
||||||
@ApiModelProperty("菜单类型 1菜单 2权限")
|
@ApiModelProperty("菜单类型 1菜单 2权限")
|
||||||
private Integer menuType;
|
private Integer menuType;
|
||||||
|
|
||||||
@@ -83,11 +74,8 @@ public class MenuTreeVO {
|
|||||||
vo.setName(menu.getName());
|
vo.setName(menu.getName());
|
||||||
vo.setCode(menu.getType());
|
vo.setCode(menu.getType());
|
||||||
vo.setPath(menu.getPath());
|
vo.setPath(menu.getPath());
|
||||||
vo.setComponent(menu.getComponent());
|
|
||||||
vo.setTarget(menu.getTarget());
|
|
||||||
vo.setIcon(menu.getIcon());
|
vo.setIcon(menu.getIcon());
|
||||||
vo.setMenuType(menu.getMenuType());
|
vo.setMenuType(menu.getMenuType());
|
||||||
vo.setCommonFunctionsIcon(menu.getCommonFunctionsIcon());
|
|
||||||
resultList.add(vo);
|
resultList.add(vo);
|
||||||
}
|
}
|
||||||
return resultList;
|
return resultList;
|
||||||
@@ -100,8 +88,6 @@ public class MenuTreeVO {
|
|||||||
//属于菜单下时候
|
//属于菜单下时候
|
||||||
if (CollectionUtils.isNotEmpty(parentMenuList)) {
|
if (CollectionUtils.isNotEmpty(parentMenuList)) {
|
||||||
List<MenuTreeVO> voList = convertVO(parentMenuList);
|
List<MenuTreeVO> voList = convertVO(parentMenuList);
|
||||||
List<String> authList = parentMenuList.stream().map(SysMenuDO::getType).collect(Collectors.toList());
|
|
||||||
data.setAuthorityList(authList);
|
|
||||||
List<MenuTreeVO> menuList = voList.stream().filter(vo -> MenuTypeEnum.MENU.getCode().equals(vo.getMenuType())).collect(Collectors.toList());
|
List<MenuTreeVO> menuList = voList.stream().filter(vo -> MenuTypeEnum.MENU.getCode().equals(vo.getMenuType())).collect(Collectors.toList());
|
||||||
data.setChildren(menuList);
|
data.setChildren(menuList);
|
||||||
voList.forEach(child -> {
|
voList.forEach(child -> {
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import com.cool.store.utils.CommonNodeUtils;
|
|||||||
import com.cool.store.vo.menu.MenuAuthTreeVO;
|
import com.cool.store.vo.menu.MenuAuthTreeVO;
|
||||||
import com.cool.store.vo.menu.MenuTreeVO;
|
import com.cool.store.vo.menu.MenuTreeVO;
|
||||||
import org.apache.commons.collections4.CollectionUtils;
|
import org.apache.commons.collections4.CollectionUtils;
|
||||||
import org.apache.commons.collections4.ListUtils;
|
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
@@ -68,14 +67,9 @@ public class MenuServiceImpl implements MenuService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Long deleteMenuAuth(Long id) {
|
public Long deleteMenuAuth(Long id) {
|
||||||
List<SysMenuDO> sysMenuDOList = sysMenuDAO.selectMenuAll(null, PlatFormTypeEnum.PC.getCode());
|
List<SysMenuDO> menuList = sysMenuDAO.selectMenuAll(null, PlatFormTypeEnum.PC.getCode());
|
||||||
List<Long> idList = ListUtils.emptyIfNull(sysMenuDOList)
|
List<Long> idList = menuList.stream().map(SysMenuDO::getId).collect(Collectors.toList());
|
||||||
.stream()
|
Map<Long, List<Long>> parentGroupMap = menuList.stream().collect(Collectors.groupingBy(SysMenuDO::getParentId, Collectors.mapping(SysMenuDO::getId, Collectors.toList())));
|
||||||
.map(SysMenuDO::getId)
|
|
||||||
.collect(Collectors.toList());
|
|
||||||
Map<Long, List<Long>> parentGroupMap = ListUtils.emptyIfNull(sysMenuDOList)
|
|
||||||
.stream()
|
|
||||||
.collect(Collectors.groupingBy(SysMenuDO::getParentId, Collectors.mapping(SysMenuDO::getId, Collectors.toList())));
|
|
||||||
List<Long> allChildList = CommonNodeUtils.getAllChildListContainSelf(0L,id, idList, parentGroupMap);
|
List<Long> allChildList = CommonNodeUtils.getAllChildListContainSelf(0L,id, idList, parentGroupMap);
|
||||||
sysMenuDAO.batchDeleteMenu(allChildList);
|
sysMenuDAO.batchDeleteMenu(allChildList);
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public class Swagger2Config {
|
|||||||
.groupName(groupName)
|
.groupName(groupName)
|
||||||
.select()
|
.select()
|
||||||
.apis(this.scanBasePackage(packages))
|
.apis(this.scanBasePackage(packages))
|
||||||
.paths(PathSelectors.regex(".*/menu/getAllMenus|.*/menu/add|.*/menu/auth/add|.*/role.*"))
|
//.paths(PathSelectors.regex(".*/menu/.*|.*/role.*"))
|
||||||
.build()
|
.build()
|
||||||
.globalOperationParameters(pars);
|
.globalOperationParameters(pars);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user