|
@@ -42,13 +42,13 @@ async function search_id(book_id) {
|
|
|
if(data.total<=0){
|
|
|
throw data
|
|
|
}else{
|
|
|
- console.log("data:",data)
|
|
|
info.words = data['rows'][0].totalWordSize
|
|
|
info.book_name = data['rows'][0].bookName
|
|
|
info.book_id = data['rows'][0].bookId
|
|
|
info.totalChapterNum = data['rows'][0].totalChapterNum
|
|
|
info.genre = 3;
|
|
|
}
|
|
|
+ console.log("data:",data)
|
|
|
return info;
|
|
|
} catch (error) {
|
|
|
return null;
|