|
@@ -766,7 +766,8 @@ class ChapterController extends BaseController
|
|
|
$this->initChapterDefaultField();
|
|
|
//章节内容
|
|
|
$chapter_content = ChapterService::getChapter($this->book_info->bid, $this->cid);
|
|
|
- $this->chapter->content = str_replace($chapter_content->name, '', $chapter_content->content);
|
|
|
+ //$this->chapter->content = str_replace($chapter_content->name, '', $chapter_content->content);
|
|
|
+ $this->chapter->content = $chapter_content->content;
|
|
|
|
|
|
//阅读记录
|
|
|
ReadRecordService::addReadRecord(['uid' => $this->uid, 'bid' => $this->book_info->bid, 'book_name' => $this->book_info->book_name,
|