续签 收礼返佣

This commit is contained in:
2025-11-27 11:48:53 +08:00
parent 7c950d0a0e
commit 0f867666e7
6 changed files with 188 additions and 18 deletions

View File

@@ -51,16 +51,16 @@ class UserWallet extends Model
// 8.礼盒奖励 9.房间补贴 10.购买礼物 11.收礼增加收益 12.工会补贴 13.转赠金币(接收) 14.收益兑换
// 15.首充 16.天降好礼充值 17.退出工会扣款 18.房主收益 19.主持人收益20.发布头条扣除余额,21.公会长收益,22.提现驳回或提现失败返还,23.财富等级奖励金币领取,24.删除关系扣金币
//27.小时榜获得28-新人充值好礼,32-发红包金币29-发红包钻石30-抢红包金币31-抢红包(钻石) 33-红包剩余退回金币34-红包剩余退回(钻石)
//50-签约 51-签约失败退回,52-首次被签约收入 53-师徒签到 54-叛徒补偿
//50-签约 51-签约失败退回,52-首次被签约收入 53-师徒签到 54-叛徒补偿,55-徒弟收礼返佣56-续约
if($gift_type == 1){ //1金币2收益钻石
if($in_out_type == 1){//1收入
$in_out_types = [2,5,6,8,13,14,15,16,22,23,26,27,30,28,33,51];
}elseif($in_out_type == 2){//2支出
$in_out_types = [4,7,10,17,20,24,25,32,50];
$in_out_types = [4,7,10,17,20,24,25,32,50,56];
}
}elseif($gift_type == 2){ //1金币2收益钻石
if($in_out_type == 1){//1收入
$in_out_types = [6,9,11,12,18,19,21,22,31,28,34,52,53,54];
$in_out_types = [6,9,11,12,18,19,21,22,31,28,34,52,53,54,55];
}elseif($in_out_type == 2){//2支出
$in_out_types = [3,14,29];
}