|
@@ -86,7 +86,12 @@ class WelcomeController extends BaseController
|
|
$latest_read_rec_books = $this->latest_read_rec_books($channel,$user->sex);
|
|
$latest_read_rec_books = $this->latest_read_rec_books($channel,$user->sex);
|
|
//广告样本
|
|
//广告样本
|
|
$adTargetId = $this->isUserInAdSample();
|
|
$adTargetId = $this->isUserInAdSample();
|
|
-
|
|
|
|
|
|
+ //广告frame
|
|
|
|
+ $is_show_ad_frame_setting = env('IS_SHOW_AD_FRAME_SETTING','123');
|
|
|
|
+ $is_show_ad_frame = false;
|
|
|
|
+ if($is_show_ad_frame_setting && in_array($this->distribution_channel_id,explode(',',$is_show_ad_frame_setting))){
|
|
|
|
+ $is_show_ad_frame = true;
|
|
|
|
+ }
|
|
$options = json_encode([
|
|
$options = json_encode([
|
|
'distribution_channel_id' => (int)$this->distribution_channel_id,
|
|
'distribution_channel_id' => (int)$this->distribution_channel_id,
|
|
'send_order_id' => $send_order_id,
|
|
'send_order_id' => $send_order_id,
|
|
@@ -113,7 +118,8 @@ class WelcomeController extends BaseController
|
|
'fission'=>$this->fission(),//裂变
|
|
'fission'=>$this->fission(),//裂变
|
|
'channel_activities'=>$channel_activities_flag,
|
|
'channel_activities'=>$channel_activities_flag,
|
|
'adTargetId'=>$adTargetId,
|
|
'adTargetId'=>$adTargetId,
|
|
- 'ad_type'=>'1'
|
|
|
|
|
|
+ 'ad_type'=>'1',
|
|
|
|
+ 'is_show_ad_frame'=>$is_show_ad_frame
|
|
]);
|
|
]);
|
|
if($this->uid == env('SPECIAL_USER_LOG',2)){
|
|
if($this->uid == env('SPECIAL_USER_LOG',2)){
|
|
myLog('special')->info('welcome --------------------------');
|
|
myLog('special')->info('welcome --------------------------');
|