debug
This commit is contained in:
@@ -107,6 +107,7 @@ class Scheduler
|
||||
// return;
|
||||
|
||||
$boolResult = $NovelPage->saveNovelInfo();
|
||||
// var_dump($boolResult);
|
||||
// return;
|
||||
|
||||
if ($boolResult == false) {
|
||||
|
||||
@@ -124,11 +124,13 @@ class NovelPage extends BasePage
|
||||
$this->arrNovelInfo[$strKey] = $Item->attr('content');
|
||||
});
|
||||
|
||||
if (!empty($this->arrNovelInfo['og_novel_category']) && $this->arrNovelInfo['og_novel_category'] == '玄幻小说') {
|
||||
$this->arrNovelInfo['og_novel_category'] = '玄幻修真';
|
||||
if (!empty($this->arrNovelInfo['og_novel_category']) ) {
|
||||
if($this->arrNovelInfo['og_novel_category'] == '玄幻小说' || $this->arrNovelInfo['og_novel_category'] == '武侠小说'){
|
||||
$this->arrNovelInfo['og_novel_category'] = '玄幻修真';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
$this->getReletedNovel();
|
||||
}
|
||||
|
||||
@@ -242,6 +244,7 @@ class NovelPage extends BasePage
|
||||
$arrUpdate = array_merge($arrUpdate, $arrNovelInfo);
|
||||
$arrUpdate['n_related_novel'] = $this->arrRelatedNovel;
|
||||
$arrUpdate['n_forge_novel'] = $this->arrForgeNovel;
|
||||
|
||||
$arrUpdate['n_category_pinyin'] = CategoryModel::getPinYin($this->arrNovelInfo['og_novel_category']);
|
||||
$arrUpdate['n_category_sex_en'] = CategoryModel::getSexEn($this->arrNovelInfo['og_novel_category']);
|
||||
$arrUpdate['n_category_sex_zh'] = CategoryModel::getSexZh($this->arrNovelInfo['og_novel_category']);
|
||||
|
||||
Reference in New Issue
Block a user