修正site未找到的bug

This commit is contained in:
zhl 2019-04-03 17:36:29 +08:00
parent 78b6529a84
commit cbae7af8a3

View File

@ -162,7 +162,7 @@ const parseOneBook = async (book) => {
if (chapterListData.code === 1) {
hasChapter = true;
chapterListData.book_id = bookId;
chapterListData.site = siteId;
chapterListData.site = site.site;
let chapterRecord = new BookChapter({
data: chapterListData,
type: 'book_chapter'