脚踩星光列表
This commit is contained in:
@@ -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,]
|
||||
|
||||
Reference in New Issue
Block a user