Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev

This commit is contained in:
make
2025-05-05 16:38:33 +08:00
3 changed files with 12 additions and 1 deletions

View File

@@ -72,7 +72,9 @@ class VideoClicksModel extends MongoModel
'$inc' => ['vc_clicks' => 1], '$inc' => ['vc_clicks' => 1],
'$set' => [ '$set' => [
'v_category' => $Video->v_category, 'v_category' => $Video->v_category,
'v_parent_category' => $Video->v_parent_category 'v_parent_category' => $Video->v_parent_category,
'v_category_en' => $Video->v_category_en,
'v_parent_categoryen' => $Video->v_parent_category_en,
], ],
], ],
[ [

View File

@@ -71,5 +71,6 @@ class Scheduler
public function createCrawlWenXueGuanTask(array $arrData) public function createCrawlWenXueGuanTask(array $arrData)
{ {
$arrCcData = json_decode($arrData['cc_data'], true); $arrCcData = json_decode($arrData['cc_data'], true);
print_r($arrCcData);
} }
} }

View File

@@ -10,9 +10,17 @@ return [
'key' => ['v_category' => 1], 'key' => ['v_category' => 1],
'options' => ['unique' => false] 'options' => ['unique' => false]
], ],
[
'key' => ['v_category_en' => 1],
'options' => ['unique' => false]
],
[ [
'key' => ['v_parent_category' => 1], 'key' => ['v_parent_category' => 1],
'options' => ['unique' => false] 'options' => ['unique' => false]
], ],
[
'key' => ['v_parent_category_en' => 1],
'options' => ['unique' => false]
],
] ]
]; ];