update
This commit is contained in:
@@ -33,7 +33,6 @@ public class InitCmsData extends BaseInitDataTests {
|
|||||||
if (GenUtils.isTableExists(Global.getTablePrefix() + "cms_article")) {
|
if (GenUtils.isTableExists(Global.getTablePrefix() + "cms_article")) {
|
||||||
return true; // 如果表已存在,则无需初始化
|
return true; // 如果表已存在,则无需初始化
|
||||||
}
|
}
|
||||||
|
|
||||||
this.runCreateScript("cms.sql");
|
this.runCreateScript("cms.sql");
|
||||||
this.initModuleInfo("cms");
|
this.initModuleInfo("cms");
|
||||||
this.initModuleMenu("/cms/index");
|
this.initModuleMenu("/cms/index");
|
||||||
@@ -42,7 +41,6 @@ public class InitCmsData extends BaseInitDataTests {
|
|||||||
this.initCategory();
|
this.initCategory();
|
||||||
this.initArticle();
|
this.initArticle();
|
||||||
this.initArticleData();
|
this.initArticleData();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ public class InitCoreData extends BaseInitDataTests {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getPhase() {
|
public int getPhase() {
|
||||||
return Integer.MIN_VALUE + 1000; // core 1000, other 2000, upgrade 10000
|
return Integer.MIN_VALUE + 1000; // core 1000, other 5000, upgrade 10000
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user