diff --git a/home/controllers/h5/market/sylive2/Act.php b/home/controllers/h5/market/sylive2/Act.php index 3205e569..55be5956 100644 --- a/home/controllers/h5/market/sylive2/Act.php +++ b/home/controllers/h5/market/sylive2/Act.php @@ -540,13 +540,7 @@ class Act extends Wx { $ac_row = $this->market_sylive_activity_model->get(['activityId'=>$a_id],'jsondata'); $jsondata = json_decode($ac_row['jsondata'],true); $act_user_row = $this->act_user_model->get(['id'=>$this->act_uid]); - $p_user = []; - - if($act_user_row['channelId'] != $act_user_row['pid'] && $act_user_row['pid'] && in_array($a_id, array(27))) { - $p_user = $this->act_user_model->get(['userId'=>$act_user_row['pid'], 'activityId' => $a_id]); - } else{ - $p_user = $this->act_user_model->get(['userId'=>$act_user_row['channelId'],'activityId' => $a_id]); - } + $p_user = $this->act_user_model->get(['userId'=>$act_user_row['channelId'],'activityId' => $a_id]); $ukey = md5($a_id.$mobile); $add_data = [