|
@@ -431,10 +431,7 @@ class ChapterController extends BaseController
|
|
'uid' => $this->uid, 'bid' => $bid, 'book_name' => $book_info->book_name,
|
|
'uid' => $this->uid, 'bid' => $bid, 'book_name' => $book_info->book_name,
|
|
'cid' => $cid, 'chapter_name' => $chapter->name
|
|
'cid' => $cid, 'chapter_name' => $chapter->name
|
|
]);
|
|
]);
|
|
- //用户标签
|
|
|
|
- if ($chapter->sequence >= 20) {
|
|
|
|
- $this->addTag($book_info);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
return response()->item(new ChapterTransformer, $this->getChapter($bid, $cid, $chapter));
|
|
return response()->item(new ChapterTransformer, $this->getChapter($bid, $cid, $chapter));
|
|
} else {
|
|
} else {
|
|
$fee = $this->getPrice($book_info, $chapter->size);
|
|
$fee = $this->getPrice($book_info, $chapter->size);
|