Ken 3 minggu lalu
induk
melakukan
e0bc1590cf
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Http/Controllers/admin/Config.php

+ 1 - 0
app/Http/Controllers/admin/Config.php

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