* [apiv2] Fix api render method

This commit is contained in:
朱金勇
2025-10-22 09:39:27 +08:00
committed by Gitfox
parent cb5ef90537
commit 837eb24de2
+9
View File
@@ -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;