|
@@ -1795,7 +1795,9 @@ class ChapterController extends BaseController
|
|
|
private function isShowAd(){
|
|
|
if (in_array($this->uid, explode(',', env('TEST_CPC_UID')))) {
|
|
|
$this->chapter->is_visiable_ad = 1;
|
|
|
- $this->chapter->is_show_ad = 1;
|
|
|
+ if($this->chapter->is_vip){
|
|
|
+ $this->chapter->is_show_ad = 1;
|
|
|
+ }
|
|
|
return ;
|
|
|
}
|
|
|
$ad_status = env('AD_STATUS',1);
|