家族相关

This commit is contained in:
2025-11-26 17:34:14 +08:00
parent b3ea7f1b2c
commit 74fa6796a1
4 changed files with 9 additions and 6 deletions

View File

@@ -908,7 +908,7 @@ class GiveGift extends Model
// 1.系统调节 2.充值 3.提现 4.金币转增(送出) 5.每日任务奖励 6.充值返利 7.购买装扮
// 8.礼盒奖励 9.房间补贴 10.购买礼物 11.收礼增加收益 12.工会补贴 13.转赠金币(接收) 14.收益兑换
// 15.首充 16.天降好礼充值 17.退出工会扣款 18.房主收益 19.主持人收益 20.抢头条 21.公会长收益22.提现驳回或提现失败返还23.财富等级奖励金币领取24.删除关系扣金币,
//50-签约,51-签约失败退回,52-首次被签约收入
//50-签约,51-签约失败退回,52-首次被签约收入54-叛徒补偿
if(in_array($change_type,[1,2,3,4,5,6,7,8,12,13,14,15,16,17,20])){
$room_ids = 0;
}else{
@@ -951,7 +951,7 @@ class GiveGift extends Model
}
}elseif ($money_type == 2){//2钻石
//增加用户钻石类型
$in_types = [9,11,12,18,19,21,52];
$in_types = [9,11,12,18,19,21,52,54];
//减少用户钻石类型
$out_types = [3,14];
if(in_array($change_type,$in_types)){