推送模块

This commit is contained in:
2026-04-18 15:48:31 +08:00
parent e3f26ba1f7
commit 7d0f11fe43
19 changed files with 548 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
export default {
connected: '推送服务已连接(已订阅频道)',
disconnected: '未连接或已断开',
user_uuid: '用户 uuid',
user_uuid_placeholder: '与移动端档案一致的 10 位对外标识',
btn_connect: '连接并订阅',
btn_disconnect: '断开',
btn_clear: '清空日志',
channel_label: '当前频道',
log_title: '事件日志',
log_empty: '暂无推送,请确认 push 进程已启动且服务端会向对应频道发消息。',
}

View File

@@ -0,0 +1,3 @@
export default {
tip: '订阅文档中的「全局对局频道」public-game-period用于验证 period.tick / period.locked / period.opened 等公共事件(需服务端向该频道推送)。',
}

View File

@@ -0,0 +1,3 @@
export default {
tip: '订阅文档中的「公告广播频道」public-operation-notice用于验证 notice.popout 等全站公告类推送(需服务端向该频道推送)。',
}

View File

@@ -0,0 +1,3 @@
export default {
tip: '订阅「用户私有频道」private-user-{uuid}:请输入玩家 uuid连接后将走 /plugin/webman/push/auth 鉴权(与移动端一致)。用于验证 bet.accepted、wallet.changed 等私有事件。',
}