* Optimize api getTypeList function.

This commit is contained in:
wangyuting
2023-12-04 14:59:35 +08:00
parent 9c536f2f9a
commit 39890a9e51
6 changed files with 32 additions and 31 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ class api extends control
$this->view->apiID = $apiID;
$this->view->api = $api;
$this->view->linkParams = $linkParams;
$this->view->typeList = $this->api->getTypeList($api->lib);
$this->view->typeList = $this->apiZen->getTypeList($api->lib);
$this->view->users = $this->user->getPairs('noclosed,noletter');
$this->view->actions = $apiID ? $this->action->getList('api', $apiID) : array();
$this->display();