This commit is contained in:
make
2026-01-12 15:06:22 +08:00
parent 7b4493b332
commit f03d272aad
3 changed files with 67 additions and 18 deletions

View File

@@ -103,5 +103,6 @@
{/foreach} {/foreach}
</main> </main>
{/block} {/block}

View File

@@ -34,11 +34,12 @@ class VideoCategoryModel extends MongoModel
"v_category" => "电影", "v_category" => "电影",
"v_category_en" => 'dian-ying', "v_category_en" => 'dian-ying',
"children" => [ "children" => [
// [
// "v_category_en" => "shao-shi-dian-ying", [
// "v_category" => "邵氏电影", "v_category_en" => "shao-shi-dian-ying",
// "children" => [], "v_category" => "邵氏电影",
// ], "children" => [],
],
[ [
"v_category_en" => "dong-zuo-pian", "v_category_en" => "dong-zuo-pian",
"v_category" => "动作片", "v_category" => "动作片",
@@ -94,12 +95,17 @@ class VideoCategoryModel extends MongoModel
// "v_category" => "预告片", // "v_category" => "预告片",
// "children" => [], // "children" => [],
// ], // ],
[
"v_category_en" => "lun-li-pian",
"v_category" => "伦理片",
"children" => [],
],
[
"v_category_en" => "dong-man-dian-ying",
"v_category" => "动漫电影",
"children" => [],
],
// [
// "v_category_en" => "lun-li-pian",
// "v_category" => "倫理片",
// "children" => [],
// ],
], ],
], ],
[ [
@@ -121,6 +127,11 @@ class VideoCategoryModel extends MongoModel
"v_category" => "韩国剧", "v_category" => "韩国剧",
"children" => [] "children" => []
], ],
[
'pinyin' => 'han-ju',
'name' => '韩剧',
"children" => []
],
[ [
"v_category_en" => "ou-mei-ju", "v_category_en" => "ou-mei-ju",
"v_category" => "欧美剧", "v_category" => "欧美剧",
@@ -146,17 +157,18 @@ class VideoCategoryModel extends MongoModel
"v_category" => "海外剧", "v_category" => "海外剧",
"children" => [] "children" => []
], ],
], ],
], ],
[ [
"v_category" => "综艺", "v_category" => "综艺",
"v_category_en" => 'zong-yi', "v_category_en" => 'zong-yi',
"children" => [ "children" => [
// [ [
// "v_category_en" => "yan-chang-hui", "v_category_en" => "yan-chang-hui",
// "v_category" => "演唱会", "v_category" => "演唱会",
// "children" => [], "children" => [],
// ], ],
[ [
"v_category_en" => "da-lu-zong-yi", "v_category_en" => "da-lu-zong-yi",
"v_category" => "大陆综艺", "v_category" => "大陆综艺",
@@ -234,6 +246,41 @@ class VideoCategoryModel extends MongoModel
"v_category" => "短剧大全", "v_category" => "短剧大全",
"children" => [], "children" => [],
], ],
[
"v_category_en" => "zhong-sheng-min-guo",
"v_category" => "重生民国",
"children" => [],
],
[
"v_category_en" => "chuan-yue-xian-dai",
"v_category" => "穿越现代",
"children" => [],
],
[
'v_category_en' => 'fan-zhuan-shuang-ju',
'v_category_en' => '反转爽剧',
"children" => [],
],
[
'v_category_en' => 'yan-qing-zong-cai',
'v_category_en' => '言情总裁',
"children" => [],
],
[
'v_category_en' => 'xian-dai-dou-shi',
'v_category_en' => '现代都市',
"children" => [],
],
[
'v_category_en' => 'gu-zhuang-xian-xia',
'v_category_en' => '古装仙侠',
"children" => [],
],
[
'v_category_en' => 'xuan-yi-shao-nao',
'v_category_en' => '悬疑烧脑',
"children" => [],
]
], ],
] ]

View File

@@ -6,6 +6,7 @@ namespace app\task\crawler\maotai\page;
class VideoCategory class VideoCategory
{ {
static $arrCategory = [ static $arrCategory = [
1 => 1 =>
[ [
@@ -16,13 +17,13 @@ class VideoCategory
2 => 2 =>
[ [
'name' => '连续剧', 'name' => '连续剧',
'pinyin' => 'lian-xu-ju', 'pinyin' => 'dian-shi-ju',
], ],
3 => 3 =>
[ [
'name' => '综艺', 'name' => '综艺',
'pinyin' => 'zong-yi-pian', 'pinyin' => 'zong-yi',
], ],
4 => 4 =>