* Finish task #89139.

This commit is contained in:
liumengyi
2023-03-30 15:50:25 +08:00
parent f7af79a2c5
commit 13f60848fc
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -916,14 +916,13 @@ class apiModel extends model
$this->config->api->search['module'] = 'api';
if(!empty($libs))
{
$queryName = $type . 'apiDoc';
foreach($libs as $lib)
{
if(empty($lib)) continue;
if($lib->type != 'api') continue;
$libPairs[$lib->id] = $lib->name;
}
$this->config->api->search['module'] = $queryName;
$this->config->api->search['module'] = !empty($type) ? $type . 'apiDoc' : 'api';
}
$this->config->api->search['queryID'] = $queryID;