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