|
@@ -115,7 +115,11 @@ class BookController extends BaseController
|
|
|
$last_chapter = ChapterService::getChapterNameById($book_info['last_cid'], $bid);
|
|
|
$book_info['last_chapter_is_vip'] = $last_chapter['is_vip'];
|
|
|
$book_info['is_need_charge'] = true;
|
|
|
- //$book_info['is_need_charge'] = $this->isNeedCharge($bid, $last_chapter, $book_info);
|
|
|
+ try{
|
|
|
+ $book_info['is_need_charge'] = $this->isNeedCharge($bid, $last_chapter, $book_info);
|
|
|
+ }catch (\Exception $e){
|
|
|
+ \Log::info('bid is :'.$bid);
|
|
|
+ }
|
|
|
$record = ReadRecordService::getBookReadRecordStatic($this->uid, $bid);
|
|
|
if ($record) {
|
|
|
$book_info['record_chapter_id'] = $record['record_chapter_id'];
|