From 14f06862062969ded74946ecd869113f82b24c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 19 Nov 2025 10:39:20 +0800 Subject: [PATCH] =?UTF-8?q?Cp=E7=A4=BC=E7=89=A9=E9=80=81=E7=A4=BC=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/GiveGift.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/model/GiveGift.php b/application/api/model/GiveGift.php index bb97484..9b92b7b 100644 --- a/application/api/model/GiveGift.php +++ b/application/api/model/GiveGift.php @@ -556,7 +556,7 @@ class GiveGift extends Model } Db::commit(); - return ['code' => 1, 'msg' => '送礼成功', 'data' => ['gift_total' => $gift_total,'gift_user_data' =>$gift_user_data,'cp_type' => ['cp_type' => $cp_type,'text' => $text,'text1' => $text1]]]; + return ['code' => 1, 'msg' => '送礼成功', 'data' => ['gift_total' => $gift_total,'gift_user_data' =>$gift_user_data,'cp_type' => ['cp_type' => $cp_type,'text' => $text,'text1' => $text1,'gift_id' => $gid]]]; } /* @@ -835,7 +835,7 @@ class GiveGift extends Model } } - return ['code' => 1, 'msg' => '送礼成功', 'data' => ['gift_total' => $gift_total,'gift_user_data' =>$gift_user_data,'cp_type' => 0]]; + return ['code' => 1, 'msg' => '送礼成功', 'data' => ['gift_total' => $gift_total,'gift_user_data' =>$gift_user_data,'cp_type' => ['cp_type' => 0,'text' => '','text1' => '','gift_id' => $gid]]]; } //送礼特效