|
@@ -490,7 +490,9 @@ class ChapterController extends BaseController
|
|
// 格式特殊处理
|
|
// 格式特殊处理
|
|
$chapter->content = trim(str_replace(' ', ' ', $chapter_content->content));
|
|
$chapter->content = trim(str_replace(' ', ' ', $chapter_content->content));
|
|
$chapter->content = trim(str_replace('\r\n\u3000\u3000\r\n\u3000\u3000', '\r\n\u3000\u3000', $chapter_content->content));
|
|
$chapter->content = trim(str_replace('\r\n\u3000\u3000\r\n\u3000\u3000', '\r\n\u3000\u3000', $chapter_content->content));
|
|
- $chapter->content = trim(str_replace('\r\n\r\n', '\r\n', $chapter_content->content));
|
|
|
|
|
|
+ $chapter->content = trim(str_replace('\\r\\n\\r\\n', '\\r\\n', $chapter_content->content));
|
|
|
|
+ $chapter->content = trim(str_replace('\u3000\u3000', '\u3000', $chapter_content->content));
|
|
|
|
+
|
|
\Log::info('getChapter_chapter:'.$bid.' cid:'.$cid.' content:'.json_encode($chapter->content));
|
|
\Log::info('getChapter_chapter:'.$bid.' cid:'.$cid.' content:'.json_encode($chapter->content));
|
|
//统计点击率
|
|
//统计点击率
|
|
$key = 'book_click_num_bid_' . $bid;
|
|
$key = 'book_click_num_bid_' . $bid;
|