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]]]; } //送礼特效