debug
This commit is contained in:
@@ -15,15 +15,31 @@ class TemplateSeeder
|
||||
$strInitDataFilePath = public_path('initdata');
|
||||
|
||||
// 小说详情title替换模板 - tkd
|
||||
$strNovelTitleTempFile = $strInitDataFilePath . '/novel/novelInfoTitleTemp.php';
|
||||
$arrNovelTitleTemp = include $strNovelTitleTempFile;
|
||||
// $strNovelTitleTempFile = $strInitDataFilePath . '/novel/novelInfoTitleTemp.php';
|
||||
// $arrNovelTitleTemp = include $strNovelTitleTempFile;
|
||||
|
||||
// 公共的替换模板分组 - url
|
||||
// // 小说详情keyword替换模板 - tkd
|
||||
// $strNovelKeyswordTempFile = $strInitDataFilePath . '/novel/novelInfoKeyWordsTemp.php';
|
||||
// $arrNovelKeyswordTemp = include $strNovelKeyswordTempFile;
|
||||
|
||||
// // 小说详情Description替换模板 - tkd
|
||||
// $strNovelDescriptionTempFile = $strInitDataFilePath . '/novel/novelInfoDescriptionTemp.php';
|
||||
// $arrNovelDescriptionTemp = include $strNovelDescriptionTempFile;
|
||||
|
||||
// // 小说章节替换模板 - tkd
|
||||
// $strChapterTitleTempFile = $strInitDataFilePath . '/novel/novelChapterTitleTemp.php';
|
||||
// $arrChapterTitleTemp = include $strChapterTitleTempFile;
|
||||
|
||||
// 替换模板分组 - url - 补充数据
|
||||
$strUrlSubjectFomartGroupFile = $strInitDataFilePath . '/novel/urlSubjectFomartGroup.php';
|
||||
$arrPublicSubjectFomartGroupData = include $strUrlSubjectFomartGroupFile;
|
||||
$arrUrlSubjectFomartGroupData = include $strUrlSubjectFomartGroupFile;
|
||||
|
||||
// 替换模板分组 - tkd - 补充数据
|
||||
$strTkdSubjectFomartGroupFile = $strInitDataFilePath . '/novel/tkdSubjectFomartGroup.php';
|
||||
$arrTkdSubjectFomartGroupData = include $strTkdSubjectFomartGroupFile;
|
||||
|
||||
/**
|
||||
* 替换模板分组 数据播种
|
||||
* 替换模板分组 基础数据播种
|
||||
* 狂雨模板
|
||||
*/
|
||||
$arrSubjectFomartGroupData = [
|
||||
@@ -340,8 +356,6 @@ class TemplateSeeder
|
||||
],
|
||||
];
|
||||
|
||||
// 所有 替换模板分组
|
||||
$arrAllSubjectFomartGroupData = array_merge($arrSubjectFomartGroupData, $arrPublicSubjectFomartGroupData);
|
||||
|
||||
/**
|
||||
* 视图模板 数据播种
|
||||
@@ -417,7 +431,9 @@ class TemplateSeeder
|
||||
|
||||
self::initTemplate($arrTemplateData);
|
||||
|
||||
self::initSubjectFomartGroup($arrAllSubjectFomartGroupData);
|
||||
self::initSubjectFomartGroup($arrSubjectFomartGroupData);
|
||||
self::initSubjectFomartGroup($arrUrlSubjectFomartGroupData);
|
||||
self::initSubjectFomartGroup($arrTkdSubjectFomartGroupData);
|
||||
|
||||
self::initSite($arrSiteData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user