* Code for task#106511.

This commit is contained in:
xieqiyu
2023-11-24 13:15:37 +08:00
parent d6578478ed
commit 6083d96d21
3 changed files with 30 additions and 5 deletions
+10 -4
View File
@@ -8,13 +8,19 @@ class adminTest
$this->user = $tester->loadModel('user');
}
public function getApiConfigTest()
/**
* 测试获取配置信息是否成功。
* Test get api config.
*
* @access public
* @return string
*/
public function getApiConfigTest(): string
{
$objects = $this->objectModel->getApiConfig();
if(empty($objects)) return 'Fail';
if(dao::isError()) return dao::getError();
return $objects;
return 'Success';
}
/**