maotai
This commit is contained in:
@@ -113,6 +113,7 @@ class Scheduler
|
||||
|
||||
|
||||
$intTotalPage = $arrCategory['total_page'];
|
||||
// $intTotalPage = 2 ; // test
|
||||
$arrFilter = [];
|
||||
for ($intStartPage = 1; $intStartPage <= $intTotalPage; $intStartPage++) {
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ class VideoInfoPage extends BasePage
|
||||
empty($arrPageVideo['v_name']) ||
|
||||
empty($arrPageVideo['v_category']) ||
|
||||
empty($arrPageVideo['v_play_url']) ||
|
||||
empty($arrPageVideo['v_play_url']['douban'])
|
||||
empty($arrPageVideo['v_play_url']['maotai'])
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
@@ -175,7 +175,7 @@ class VideoInfoPage extends BasePage
|
||||
|
||||
$arrUpdate = [
|
||||
'updated_at' => new \MongoDB\BSON\UTCDateTime(),
|
||||
'v_play_url.douban' => $arrPageVideo['v_play_url']['douban'],
|
||||
'v_play_url.maotai' => $arrPageVideo['v_play_url']['maotai'],
|
||||
];
|
||||
|
||||
$this->getVideoModel()->updateOne(
|
||||
|
||||
Reference in New Issue
Block a user