diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/sys/model/dto/MenuSaveDTO.java b/pmapi/src/main/java/com/ningdatech/pmapi/sys/model/dto/MenuSaveDTO.java index 745ee5f..037032f 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/sys/model/dto/MenuSaveDTO.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/sys/model/dto/MenuSaveDTO.java @@ -48,7 +48,6 @@ public class MenuSaveDTO implements Serializable { * 页面路径 */ @ApiModelProperty(value = "页面路径") - @NotBlank(message = "页面路径不能为空") private String path; /** diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java index 2894537..6a61ae0 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java @@ -129,8 +129,6 @@ public class MenuServiceImpl extends ServiceImpl implements IM throw BizException.wrap("【地址栏路径】:{}重复", data.getPath()); } } - } else { - checkButtonUnique(data.getPid(), data.getPath(), null); } data.setPid(Convert.toLong(data.getPid(), DEF_PARENT_ID)); Menu menu = BeanUtil.toBean(data, Menu.class);