* Finish task #53673.

This commit is contained in:
hufangzhou
2022-05-11 10:05:09 +08:00
parent 61c086d94f
commit 3680af6833
7 changed files with 102 additions and 11 deletions
+1
View File
@@ -764,6 +764,7 @@ class apiModel extends model
public function createDemoData($name, $baseUrl, $version = '16.0')
{
/* Replace the doc lib name to api lib name. */
$this->app->loadLang('doc');
$this->lang->doclib->name = $this->lang->doclib->apiLibName;
$firstAccount = $this->dao->select('account')->from(TABLE_USER)->orderBy('id_asc')->limit(1)->fetch('account');