give_gift($uid, $to_uid, $gift_id, $gift_num,$from_type,$type, $room_id,$pit_number); if($res['code'] != 1){ return $res; } //送礼成功后续操作 // } }