加幸运币统计字段-前端加幸运值统计

This commit is contained in:
2025-12-22 14:37:41 +08:00
parent 4ba205e565
commit 48f6ce44ab

View File

@@ -331,6 +331,7 @@ class Room extends Model
//在线数
$v['online_num'] = db::name('vs_room_visitor')->where('room_id', $v['room_id'])->where('is_delete', 1)->count();
$v['cp_room'] = $cp_room;
$v['lucky_water'] = db::name('vs_room_luck_value')->where('room_id',$v['room_id'])->sum('luck_value');
}
}
return $roomInfo;