|
@@ -1768,14 +1768,7 @@ class ChapterController extends BaseController
|
|
|
//用户是否在广告样本中
|
|
|
//if(!$this->isUserInAdSample()) return ;
|
|
|
$is_ad_user = Cookie::get('cpc_ad_status');
|
|
|
- if(!$is_ad_user){
|
|
|
- $ad_user_status = UserService::isCpcUser($this->uid);
|
|
|
- if($ad_user_status)
|
|
|
- $is_ad_user = 'show';
|
|
|
- else
|
|
|
- $is_ad_user = 'unshow';
|
|
|
- Cookie::queue('cpc_ad_status', $is_ad_user, 3600);
|
|
|
- }
|
|
|
+
|
|
|
if(!$is_ad_user || $is_ad_user != 'show') return ;
|
|
|
$cid = 0;
|
|
|
if($this->chapter && $this->chapter->next_cid){
|