From 837eb24de2bf98d9e7119cb51d22b00fe2a1618b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Wed, 22 Oct 2025 09:39:27 +0800 Subject: [PATCH] * [apiv2] Fix api render method --- framework/api/control.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/framework/api/control.class.php b/framework/api/control.class.php index dbeeaf35db..a6a2e96787 100644 --- a/framework/api/control.class.php +++ b/framework/api/control.class.php @@ -158,6 +158,15 @@ class control extends baseControl return; } + elseif(!$this->getFormData) + { + $this->parseJSON($moduleName, $methodName); + + ob_start(); + echo $this->output; + + return; + } if(empty($moduleName)) $moduleName = $this->moduleName; if(empty($methodName)) $methodName = $this->methodName;