From fe67417c7624a3493e05fde348d74c0d6c5c5a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Tue, 30 Dec 2025 15:41:42 +0800 Subject: [PATCH] * [apiv2] Fix delete method. --- framework/api/router.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/api/router.class.php b/framework/api/router.class.php index 1d8cd1157f..9edc2ecf42 100644 --- a/framework/api/router.class.php +++ b/framework/api/router.class.php @@ -502,7 +502,7 @@ class api extends router if($this->apiVersion == 'v2') { $this->setParams(); - if(in_array($this->action, array('post', 'put'))) + if(in_array($this->action, array('post', 'put', 'delete'))) { $this->setFormData(); }