主持人受益

This commit is contained in:
2025-09-17 00:31:47 +08:00
parent e213070985
commit 8e0b51eae6

View File

@@ -315,7 +315,7 @@ class Room extends Model
}
if($type == 1) {//1-我主持的
//今日收益
$v['today_profit'] = $this->get_room_today_earnings($v['room_id'],$uid);
$v['today_profit'] = round( $this->get_room_today_earnings($v['room_id'],$uid),4);
}else{
//今日流水
//金币与魅力比例
@@ -405,7 +405,6 @@ class Room extends Model
->where(['room_id' => $room_id,'user_id' => $user_id,'change_type' =>19])
->whereBetween('createtime', [$today_start_time, $today_end_time])
->sum('change_value');
}
//房间补贴