|
@@ -488,8 +488,10 @@ class ChapterController extends BaseController
|
|
|
if (!$chapter_content) return false;
|
|
|
$chapter->content = trim(str_replace($chapter_content->name, '', $chapter_content->content));
|
|
|
// 格式特殊处理
|
|
|
- $chapter->content = str_replace(' ', '', $chapter->content);
|
|
|
- $chapter->content = str_replace('\t', '', $chapter->content);
|
|
|
+ $qian=array(" "," ","\t");
|
|
|
+ $hou=array("","","");
|
|
|
+ $chapter->content = str_replace($qian,$hou,$chapter->content);
|
|
|
+
|
|
|
\Log::info('getChapter_chapter:'.$bid.' cid:'.$cid);
|
|
|
\Log::info($chapter->content);
|
|
|
//统计点击率
|