Ken hai 4 días
pai
achega
a7412bf327
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/admin/Menu.php

+ 1 - 1
app/Http/Controllers/admin/Menu.php

@@ -114,7 +114,7 @@ class Menu extends Controller
      */
     public function destroy()
     {
-        return $this->error(HttpStatus::CUSTOM_ERROR, '禁止删除');
+//        return $this->error(HttpStatus::CUSTOM_ERROR, '禁止删除');
         $id = request()->post('id');
         // 示例:通过 ID 删除菜单
         $info = MenuService::findOne(['id' => $id]);