This commit is contained in:
wangyidong
2022-11-09 09:20:31 +08:00
parent d7eee8faf8
commit d08753fce4
+1 -1
View File
@@ -154,7 +154,7 @@ class devModel extends model
foreach($methods as $method)
{
if($method->class == 'baseControl' or $method->class == 'control' or $method->name == '__construct') continue;
$api = array('name' => $method->name, 'post' => false, 'param' => array());
$api = array('name' => $method->name, 'post' => false, 'param' => array(), 'desc' => '');
$methodReflect = new ReflectionMethod($module, $method->name);
foreach($methodReflect->getParameters() as $key => $param)
{