Ken 4 일 전
부모
커밋
a7412bf327
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()
     public function destroy()
     {
     {
-        return $this->error(HttpStatus::CUSTOM_ERROR, '禁止删除');
+//        return $this->error(HttpStatus::CUSTOM_ERROR, '禁止删除');
         $id = request()->post('id');
         $id = request()->post('id');
         // 示例:通过 ID 删除菜单
         // 示例:通过 ID 删除菜单
         $info = MenuService::findOne(['id' => $id]);
         $info = MenuService::findOne(['id' => $id]);