Browse Source

Merge remote-tracking branch 'origin/stabble' into stabble

tusx 6 years ago
parent
commit
fae327a7a3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/Wap/Book/ChapterController.php

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

@@ -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,