* Modify api data type.

This commit is contained in:
caoyanyi
2023-03-30 17:41:42 +08:00
parent 50ab38a854
commit 508aa14e60
+1 -1
View File
@@ -2827,7 +2827,7 @@ class docModel extends model
$item = new stdclass();
$item->id = $module->id;
$item->name = $module->name;
$item->type = $module->type;
$item->type = $module->type == 'api' ? 'apiDoc' : $module->type;
$item->active = $module->id == $moduleID ? 1 : 0;
$item->children = $this->getModuleTree($rootID, $moduleID, $type, $module->id, $modules);