diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/MenuController.java b/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/MenuController.java
index aa61f7ac..dca2c700 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/MenuController.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/MenuController.java
@@ -81,9 +81,6 @@ public class MenuController {
@PutMapping(value = "/menus")
@PreAuthorize("hasAnyRole('ADMIN','MENU_ALL','MENU_EDIT')")
public ResponseEntity update(@Validated(Menu.Update.class) @RequestBody Menu resources){
- if (resources.getId() <= new Long(39).longValue()) {
- throw new BadRequestException("演示环境不可操作");
- }
menuService.update(resources);
return new ResponseEntity(HttpStatus.NO_CONTENT);
}
@@ -92,9 +89,6 @@ public class MenuController {
@DeleteMapping(value = "/menus/{id}")
@PreAuthorize("hasAnyRole('ADMIN','MENU_ALL','MENU_DELETE')")
public ResponseEntity delete(@PathVariable Long id){
- if (id.longValue() <= new Long(39).longValue()) {
- throw new BadRequestException("演示环境不可操作");
- }
List