debug-grm

This commit is contained in:
make
2025-05-20 18:31:47 +08:00
parent 04aff1655c
commit ac149b2ad1
80 changed files with 466 additions and 87 deletions

View File

@@ -9,7 +9,7 @@ d_key="d_key"
d_val="Novel" n_num="total"
button_num="5" cache_life="3600" func="generateCategoryPager" export_name="resData" /}
{site:grm page_code="h5_novel_library" diff="$Request.route.intPage" num="40" g_key="arrGrm" /}
{site:grm page_code="novel_library" diff="0" num="40" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETLIBRARY@TITLE"}{/block}

View File

@@ -2,7 +2,7 @@
{block name="get-data"}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /}
{site:grm page_code="novel_catalog " diff="0" num="120" g_key="arrGrm" /}
{chapter:pagerexp page="$Request.route.intPage" limit="10" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter"
cache_life="3600" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /}
{/block}

View File

@@ -2,7 +2,7 @@
{block name="get-data"}
{site:grm page_code="h5_novel_chapter" diff="$Request.url" num="20" g_key="arrGrm" /}
{site:grm page_code="novel_chapter" diff="0" num="100" g_key="arrGrm" /}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{chapter:info n_id="$Request.route.intNovelId" c_sort_num="$Request.route.intChapterSort"
c_page="$Request.route.intChapterPage" c_key="arrChapter" /}

View File

@@ -6,7 +6,7 @@ $Novel.n_id{extend name="baseH5" /}
{else}
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
{/if}
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{site:grm page_code="novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}

View File

@@ -6,7 +6,7 @@ key="$Request.get.keyword"
d_key="d_key"
d_val="Novel"
p_val="page_data" button_num="10" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /}
{site:grm page_code="novel_search" diff="0" num="30" g_key="arrGrm" /}
{/block}

View File

@@ -8,7 +8,7 @@ n_status="$Request.route.strStatus" d_key="d_key"
d_key="d_key"
d_val="Novel" n_num="total"
button_num="10" cache_life="3600" func="generateCategoryPager" export_name="resData" /}
{site:grm page_code="pc_novel_library" diff="$Request.route.intPage" num="70" g_key="arrGrm" /}
{site:grm page_code="novel_library" diff="0" num="70" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETLIBRARY@TITLE"}{/block}

View File

@@ -2,7 +2,7 @@
{block name="get-data"}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{site:grm page_code="pc_novel_catalog" diff="$Request.url" num="120" g_key="arrGrm" /}
{site:grm page_code="novel_catalog" diff="0" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETNOVELCATALOG@TITLE"}{/block}

View File

@@ -2,7 +2,7 @@
{block name="get-data"}
{site:grm page_code="pc_novel_chapter" diff="$Request.url" num="60" g_key="arrGrm" /}
{site:grm page_code="novel_chapter" diff="0" num="60" g_key="arrGrm" /}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{chapter:info n_id="$Request.route.intNovelId" c_sort_num="$Request.route.intChapterSort"
c_page="$Request.route.intChapterPage" c_key="arrChapter" /}

View File

@@ -6,7 +6,7 @@
{else}
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
{/if}
{site:grm page_code="pc_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{site:grm page_code="novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}

View File

@@ -6,7 +6,7 @@ key="$Request.get.keyword"
d_key="d_key"
d_val="Novel" n_num="total"
p_val="page_data" button_num="10" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="pc_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /}
{site:grm page_code="novel_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"}{/block}

View File

@@ -1,3 +1,39 @@
# 允许的搜索引擎
User-agent: Baiduspider
Allow: /
User-agent: 360Spider
Allow: /
User-agent: Sogou web spider
Allow: /
User-agent: Sogou inst spider
Allow: /
User-agent: YisouSpider
Allow: /
User-agent: Quarkbot
Allow: /
User-agent: Googlebot
Allow: /
# 禁止其他爬虫AI 爬虫常见 UA
User-agent: GPTBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: *
Disallow:
Disallow: /
Sitemap: https://{$DomainModel->d_domain}/sitemap_index.xml