Browse Source

two book id debug

zz 6 years ago
parent
commit
fb0ecef5df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Wap/Book/ChapterController.php

+ 1 - 0
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -311,6 +311,7 @@ class ChapterController extends BaseController
         }
         $this->en_bid = $bid;
 
+        $bid = explode(',',$bid)[0];
         $bid = Hashids::decode($bid)[0];
         //获取图书信息
         $book_info = BookConfigService::getBookById($bid);