This commit is contained in:
xiaoyu
2024-02-10 20:11:11 +08:00
parent 45e209ba82
commit 27691f630d
+1 -7
View File
@@ -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 = [