From b7ec1b1eda7917d136b706eecc516c281e22d155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 16 Jan 2026 22:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E8=B8=A9=E6=98=9F=E5=85=89=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/SendGift.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/api/model/SendGift.php b/application/api/model/SendGift.php index aedfdfab..e785ca93 100644 --- a/application/api/model/SendGift.php +++ b/application/api/model/SendGift.php @@ -1375,12 +1375,12 @@ class SendGift extends Model //cp检测且处理升级事宜 $cp_type = model('api/UserCp')->checkGift($uid, $gid, $to_uid, $room_id, $num,$receive_gift_total);//0-不处理,1-表明心意,2-组成Cp $gift_user_data = [];//收礼人信息和收到的金币 交友和参与拍卖使用 - if($cp_type != 0){ - $gift_user_data[] = [ - 'user_id' => $to_uid, - 'gift_price' => $receive_gift_total, - ]; - } + + $gift_user_data[] = [ + 'user_id' => $to_uid, + 'gift_price' => $receive_gift_total, + ]; + if($room_type == 7){ $reslut = [ 'data' => ['gift_total' => $receive_gift_total,'gift_user_data' =>$gift_user_data,]