|
@@ -778,7 +778,7 @@ class ChapterController extends BaseController
|
|
|
//#短篇推送长篇需求#
|
|
|
//$this->shortPushLong();
|
|
|
//#短推长、短推短对比
|
|
|
- $this->shortPushshort();
|
|
|
+ //$this->shortPushshort();
|
|
|
//阅读器分享
|
|
|
$this->share();
|
|
|
//广告
|
|
@@ -812,7 +812,8 @@ class ChapterController extends BaseController
|
|
|
//阅读底部强关图片 只有123有
|
|
|
$this->chapter->is_had_subscribe = 0;
|
|
|
//广告
|
|
|
- $this->chapter->is_show_ad = 0;
|
|
|
+ $this->chapter->is_show_ad = 0;//可不可点击
|
|
|
+ $this->chapter->is_visiable_ad = 0;//可不可显示
|
|
|
}
|
|
|
|
|
|
private function sign()
|
|
@@ -871,10 +872,6 @@ class ChapterController extends BaseController
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- private function getOfficialAccountForceReadNotice()
|
|
|
- {
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
//强关页面的统计
|
|
|
private function subscribeStats()
|
|
@@ -1795,6 +1792,9 @@ class ChapterController extends BaseController
|
|
|
//付费用户没有广告
|
|
|
if(OrderService::isPaidUser($this->uid)) return ;
|
|
|
//如果下一张已经付费,广告不显示
|
|
|
+ //广告都显示
|
|
|
+ $this->chapter->is_visiable_ad = 1;
|
|
|
+ AdVisitStatService::create($this->uid,$this->book_info->bid,$this->cid,'EXPOSURE');
|
|
|
if($this->getOrderRecord($this->book_info->bid, $cid)){
|
|
|
return ;
|
|
|
}
|
|
@@ -1810,7 +1810,7 @@ class ChapterController extends BaseController
|
|
|
|
|
|
if( $flag ){
|
|
|
$this->chapter->is_show_ad = 1;
|
|
|
- AdVisitStatService::create($this->uid,$this->book_info->bid,$this->cid,'EXPOSURE');
|
|
|
+ AdVisitStatService::create($this->uid,$this->book_info->bid,$this->cid,'CAN_CLICK');
|
|
|
}
|
|
|
}
|
|
|
|