* [apiv2] Set params before POST

This commit is contained in:
朱金勇
2025-12-02 16:31:45 +08:00
committed by sunhao
parent 20c95aecdc
commit a366ca9961
-5
View File
@@ -399,11 +399,6 @@ class api extends router
if(in_array($this->action, array('post', 'put')))
{
$this->setFormData();
foreach($_POST as $key => $value)
{
if(isset($this->params[$key])) $this->params[$key] = $value;
}
}
return parent::loadModule();
}