@@ -304,6 +304,9 @@ class ChapterController extends BaseController
return response()->error('WAP_NOT_LOGIN');
}
$this->en_bid = $bid;
+ // 上传的bid bug问题
+ if(strstr($bid,',')) $bid = explode(',',$bid)[0];
+
$bid = Hashids::decode($bid)[0];
//获取图书信息
$book_info = BookConfigService::getBookById($bid);