Merge branch 'ta_liyang' into 'master'
* Fix init data of user and config. See merge request easycorp/zentaopms!6708
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ fields:
|
||||
note: "真实姓名"
|
||||
fields:
|
||||
- field: realname1
|
||||
range: admin,用户,测试{100},开发{100},项目经理{100},产品经理{100},研发主管{100},产品主管{100},测试主管{100},高层管理{100},用户{100},其他{100},A,BB,CCC,非常长非常长的用户名怎么这么长?
|
||||
range: admin,用户{99},测试{100},开发{100},项目经理{100},产品经理{100},研发主管{100},产品主管{100},测试主管{100},高层管理{100},外用户{100},其他{100},A,BB,CCC,非常长非常长的用户名怎么这么长?
|
||||
- field: realname2
|
||||
range: [],1-99,1-100,1-100,1-100,1-100,1-100,1-100,1-100,1-100,1-100,1-100,[]{4}
|
||||
- field: nickname
|
||||
|
||||
@@ -52,7 +52,6 @@ class Processor
|
||||
$this->initTest();
|
||||
$this->initTodo();
|
||||
$this->initSonPlan();
|
||||
$this->initBassicSql();
|
||||
|
||||
$this->dao->commit();
|
||||
}
|
||||
@@ -298,7 +297,6 @@ class Processor
|
||||
{
|
||||
global $app;
|
||||
$sqlRoot = $app->getAppRoot();
|
||||
$this->dao->exec(file_get_contents($sqlRoot . '/data/zt_config.sql'));
|
||||
$this->dao->exec(file_get_contents($sqlRoot . '/data/zt_block.sql'));
|
||||
$this->dao->exec(file_get_contents($sqlRoot . '/data/zt_lang.sql'));
|
||||
$this->dao->exec(file_get_contents($sqlRoot . '/data/zt_cron.sql'));
|
||||
|
||||
Reference in New Issue
Block a user