房间小时榜相关

This commit is contained in:
2025-09-29 18:29:08 +08:00
parent 5279199cec
commit 0a2f05a928
7 changed files with 138 additions and 9 deletions

View File

@@ -73,6 +73,8 @@ class Push
//房间盘推送
//巡乐会推送开启进度推送
const PUSH_ROOM_PAN_XLH_PROGRESS = 8000;
//小时榜
const PUSH_ROOM_PAN_HOUR_PROGRESS = 8001;
public $user_id, $room_id, $topic_room, $topic_client;
@@ -299,6 +301,11 @@ class Push
$this->push(self::PUSH_ROOM_PAN_XLH_PROGRESS, $topic, $data);
}
//小时榜推送
public function hourRanking($data){
$topic = 'qx_hour_ranking';
$this->push(self::PUSH_ROOM_PAN_HOUR_PROGRESS, $topic, $data);
}