* Change api list dropmenu switch link.

This commit is contained in:
caoyanyi
2023-07-25 17:27:18 +08:00
parent 978e5cd889
commit dec95ad7b7
2 changed files with 23 additions and 3 deletions
+18
View File
@@ -1030,4 +1030,22 @@ class api extends control
}
}
/**
* Get api list.
*
* @param int $objectID
* @param string $objectType
* @access public
* @return void
*/
public function ajaxGetList(int $objectID, string $objectType)
{
helper::setcookie('objectType', $objectType);
helper::setcookie('objectID', $objectID);
$this->objectType = $objectType;
$this->objectID = $objectID;
$this->locate(inlink('index'));
}
}