debug
This commit is contained in:
@@ -15,15 +15,31 @@ class TemplateSeeder
|
|||||||
$strInitDataFilePath = public_path('initdata');
|
$strInitDataFilePath = public_path('initdata');
|
||||||
|
|
||||||
// 小说详情title替换模板 - tkd
|
// 小说详情title替换模板 - tkd
|
||||||
$strNovelTitleTempFile = $strInitDataFilePath . '/novel/novelInfoTitleTemp.php';
|
// $strNovelTitleTempFile = $strInitDataFilePath . '/novel/novelInfoTitleTemp.php';
|
||||||
$arrNovelTitleTemp = include $strNovelTitleTempFile;
|
// $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';
|
$strUrlSubjectFomartGroupFile = $strInitDataFilePath . '/novel/urlSubjectFomartGroup.php';
|
||||||
$arrPublicSubjectFomartGroupData = include $strUrlSubjectFomartGroupFile;
|
$arrUrlSubjectFomartGroupData = include $strUrlSubjectFomartGroupFile;
|
||||||
|
|
||||||
|
// 替换模板分组 - tkd - 补充数据
|
||||||
|
$strTkdSubjectFomartGroupFile = $strInitDataFilePath . '/novel/tkdSubjectFomartGroup.php';
|
||||||
|
$arrTkdSubjectFomartGroupData = include $strTkdSubjectFomartGroupFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 替换模板分组 数据播种
|
* 替换模板分组 基础数据播种
|
||||||
* 狂雨模板
|
* 狂雨模板
|
||||||
*/
|
*/
|
||||||
$arrSubjectFomartGroupData = [
|
$arrSubjectFomartGroupData = [
|
||||||
@@ -340,8 +356,6 @@ class TemplateSeeder
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
// 所有 替换模板分组
|
|
||||||
$arrAllSubjectFomartGroupData = array_merge($arrSubjectFomartGroupData, $arrPublicSubjectFomartGroupData);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 视图模板 数据播种
|
* 视图模板 数据播种
|
||||||
@@ -417,7 +431,9 @@ class TemplateSeeder
|
|||||||
|
|
||||||
self::initTemplate($arrTemplateData);
|
self::initTemplate($arrTemplateData);
|
||||||
|
|
||||||
self::initSubjectFomartGroup($arrAllSubjectFomartGroupData);
|
self::initSubjectFomartGroup($arrSubjectFomartGroupData);
|
||||||
|
self::initSubjectFomartGroup($arrUrlSubjectFomartGroupData);
|
||||||
|
self::initSubjectFomartGroup($arrTkdSubjectFomartGroupData);
|
||||||
|
|
||||||
self::initSite($arrSiteData);
|
self::initSite($arrSiteData);
|
||||||
}
|
}
|
||||||
|
|||||||
221
code/public/initdata/novel/tkdSubjectFomartGroup.php
Normal file
221
code/public/initdata/novel/tkdSubjectFomartGroup.php
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
<?php
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
// | url公共的替换模板分组- 模板
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
|
||||||
|
$strInitDataFilePath = public_path('initdata');
|
||||||
|
|
||||||
|
// 小说详情title替换模板 - tkd
|
||||||
|
$strNovelTitleTempFile = $strInitDataFilePath . '/novel/novelInfoTitleTemp.php';
|
||||||
|
$arrNovelTitleTemp = include $strNovelTitleTempFile;
|
||||||
|
|
||||||
|
// 小说详情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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 替换模板分组 补充数据数据播种 - tkd
|
||||||
|
* 狂雨模板
|
||||||
|
*/
|
||||||
|
$arrTKDSubjectFomartGroupData = [
|
||||||
|
|
||||||
|
// TKD
|
||||||
|
'INDEX@INDEX@TITLE' => [
|
||||||
|
'description' => '首页Title 模板分组',
|
||||||
|
'sfg_id' => 1,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strIndexTitle}',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'INDEX@INDEX@KEYWORDS' => [
|
||||||
|
'description' => '首页Keywords 模板分组',
|
||||||
|
'sfg_id' => 2,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strIndexKeywords}',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'INDEX@INDEX@DESCRIPTION' => [
|
||||||
|
'description' => '首页Description 模板分组',
|
||||||
|
'sfg_id' => 3,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strIndexDescription}',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETLIBRARY@TITLE' => [
|
||||||
|
'description' => '分类书库Title 模板分组',
|
||||||
|
'sfg_id' => 4,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说 - {strSiteName} - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETLIBRARY@KEYWORDS' => [
|
||||||
|
'description' => '分类书库Keywords 模板分组',
|
||||||
|
'sfg_id' => 5,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelCategoryName}小说, {strNovelSex}小说, {strNovelStatus}小说, {strSiteName}, 免费小说, 在线阅读',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETLIBRARY@DESCRIPTION' => [
|
||||||
|
'description' => '分类书库Description 模板分组',
|
||||||
|
'sfg_id' => 6,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSiteName}提供{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说免费在线阅读,第{intPage}页精选热门作品,畅享{strSiteDomain}!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETNOVELCHANNEL@TITLE' => [
|
||||||
|
'description' => '男女生Title 模板分组',
|
||||||
|
'sfg_id' => 7,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelSex}小说 - {strSiteName} - 免费阅读 - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCHANNEL@KEYWORDS' => [
|
||||||
|
'description' => '男女生Keywords 模板分组',
|
||||||
|
'sfg_id' => 8,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelSex}小说 - {strSiteKeywords} - 免费阅读 - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCHANNEL@DESCRIPTION' => [
|
||||||
|
'description' => '男女生Description 模板分组',
|
||||||
|
'sfg_id' => 9,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelSex}小说 - {strSiteName} - 免费阅读 - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETNOVELINFO@TITLE' => [
|
||||||
|
'description' => '详情Title 模板分组',
|
||||||
|
'sfg_id' => 10,
|
||||||
|
'arrSubjectFomart' => $arrNovelTitleTemp,
|
||||||
|
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELINFO@KEYWORDS' => [
|
||||||
|
'description' => '详情Keywords 模板分组',
|
||||||
|
'sfg_id' => 11,
|
||||||
|
'arrSubjectFomart' => $arrNovelKeyswordTemp,
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELINFO@DESCRIPTION' => [
|
||||||
|
'description' => '详情Description 模板分组',
|
||||||
|
'sfg_id' => 12,
|
||||||
|
'arrSubjectFomart' => $arrNovelDescriptionTemp,
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETNOVELCATALOG@TITLE' => [
|
||||||
|
'description' => '目录Title 模板分组',
|
||||||
|
'sfg_id' => 13,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelName}章节目录 - {strNovelAuthor} - 免费查看 - {strSiteName} 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCATALOG@KEYWORDS' => [
|
||||||
|
'description' => '目录Keywords 模板分组',
|
||||||
|
'sfg_id' => 14,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelName}, 章节目录, {strNovelAuthor}, {strNovelCategoryName}, 免费阅读,{strNovelSex}小说, {strSiteKeywords}, {strSiteName}',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCATALOG@DESCRIPTION' => [
|
||||||
|
'description' => '目录Description 模板分组',
|
||||||
|
'sfg_id' => 15,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSiteName}提供{strNovelName}章节目录免费查看,第{intPage}页包含最新{strNovelStatus}章节,{strNovelAuthor}创作,畅享{strSiteDomain}!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETNOVELCHAPTER@TITLE' => [
|
||||||
|
'description' => '内容Title 模板分组',
|
||||||
|
'sfg_id' => 16,
|
||||||
|
'arrSubjectFomart' => $arrChapterTitleTemp
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCHAPTER@KEYWORDS' => [
|
||||||
|
'description' => '内容Keywords 模板分组',
|
||||||
|
'sfg_id' => 17,
|
||||||
|
'arrSubjectFomart' => $arrNovelKeyswordTemp,
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELCHAPTER@DESCRIPTION' => [
|
||||||
|
'description' => '内容Description 模板分组',
|
||||||
|
'sfg_id' => 18,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strNovelName}{strNovelChapterName}免费在线阅读,{strNovelAuthor}著。{strChapterDescription},快来{strSiteName}畅读精彩章节!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETNOVELRANK@TITLE' => [
|
||||||
|
'description' => '排行榜Title 模板分组',
|
||||||
|
'sfg_id' => 19,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'小说排行榜 - {strSiteName} - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELRANK@KEYWORDS' => [
|
||||||
|
'description' => '排行榜Keywords 模板分组',
|
||||||
|
'sfg_id' => 20,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'小说排行榜, 热门小说, 小说推荐, {strSiteKeywords}, {strSiteName}, 免费阅读',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETNOVELRANK@DESCRIPTION' => [
|
||||||
|
'description' => '排行榜Description 模板分组',
|
||||||
|
'sfg_id' => 21,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSiteName}提供小说排行榜,第{intPage}页精选热门小说免费阅读,最新排行一览无余,畅享{strSiteDomain}!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'NOVEL@GETSEARCHNOVEL@TITLE' => [
|
||||||
|
'description' => '搜索页Title 模板分组',
|
||||||
|
'sfg_id' => 22,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSearchKeywords} - {strSiteName}搜索 - 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETSEARCHNOVEL@KEYWORDS' => [
|
||||||
|
'description' => '搜索页Keywords 模板分组',
|
||||||
|
'sfg_id' => 23,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSearchKeywords}, {strSiteName}, 免费阅读, 在线搜索, 第{intPage}页',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'NOVEL@GETSEARCHNOVEL@DESCRIPTION' => [
|
||||||
|
'description' => '搜索页Description 模板分组',
|
||||||
|
'sfg_id' => 24,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'{strSearchKeywords}搜索结果尽在{strSiteName},第{intPage}页提供免费阅读,访问{strSiteDomain}立即体验!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
// SEO 丰富内容
|
||||||
|
'INDEX_POPULAR_NOVELS' => [
|
||||||
|
'description' => '首页热门小说介绍 模板分组',
|
||||||
|
'sfg_id' => 35,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'精选全网热评佳作,涵盖玄幻冒险、都市传奇、穿越重生等多种类型,带你领略最受欢迎的阅读热潮,快来发现你的下一本心动之作!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'INDEX_NEWS_NOVELS' => [
|
||||||
|
'description' => '首页最新小说介绍 模板分组',
|
||||||
|
'sfg_id' => 37,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'每日更新最新章节,囊括玄幻修真、都市爽文、重生逆袭等热门题材,紧跟作者步伐,第一时间畅读新鲜故事!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'INDEX_RANK_NOVELS' => [
|
||||||
|
'description' => '首页小说排行榜介绍 模板分组',
|
||||||
|
'sfg_id' => 38,
|
||||||
|
'arrSubjectFomart' => [
|
||||||
|
'汇聚读者最爱的小说排行,日榜、周榜、月榜一网打尽,玄幻巅峰、都市热血、完结经典全都有,助你快速找到高人气好书!',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
];
|
||||||
|
return $arrTKDSubjectFomartGroupData;
|
||||||
Reference in New Issue
Block a user