This commit is contained in:
Default
2025-04-09 17:41:59 +08:00
parent c5dedc8a78
commit 1a39dda023
3 changed files with 2 additions and 4 deletions

View File

@@ -49,7 +49,6 @@ class NovelModel extends MongoModel
'n_site_uuid' => 0,
'n_source_id' => 0,
'n_page_title' => 0,
'og_description' => 0,
'og_image' => 0,
'og_novel_latest_chapter_url' => 0,
'og_novel_read_url' => 0,
@@ -72,7 +71,7 @@ class NovelModel extends MongoModel
try {
$arrConditions = array_map(function ($strKeyword) {
return ['og_title' => ['$regex' => trim($strKeyword), '$options' => 'i']];
return ['og_novel_book_name' => ['$regex' => trim($strKeyword), '$options' => 'i']];
}, $arrKeywords);
$UpdateResult = $this->getCol()->updateMany(