1.重构实时消息WebSocket连接

2.MySQL备份
This commit is contained in:
2026-04-24 13:49:38 +08:00
parent d69412a0f7
commit fd324f2882
54 changed files with 2396 additions and 2638 deletions

View File

@@ -15,8 +15,8 @@ export default {
btn_draw: 'Schedule draw',
calc_result_number: 'Calculated number',
calc_estimated_loss: 'Estimated payout',
push_connected: 'Push connected, realtime updates running',
push_disconnected: 'Push disconnected, please check service status',
push_connected: 'Realtime connection established',
push_disconnected: 'Polling mode enabled (push removed)',
candidate_title: 'Candidate payout estimates',
number: 'Number',
estimated_loss: 'Estimated payout',

View File

@@ -0,0 +1,3 @@
export default {
tip: 'WebSocket connection test for status stream: listen to period.tick / period.opened events.',
}

View File

@@ -1,12 +0,0 @@
export default {
connected: 'Push connected (subscribed)',
disconnected: 'Disconnected or idle',
user_uuid: 'User uuid',
user_uuid_placeholder: '10-char public id as in mobile profile',
btn_connect: 'Connect & subscribe',
btn_disconnect: 'Disconnect',
btn_clear: 'Clear log',
channel_label: 'Channel',
log_title: 'Event log',
log_empty: 'No messages yet. Ensure the push worker is running and the server publishes to this channel.',
}

View File

@@ -1,3 +0,0 @@
export default {
tip: 'Subscribe to public-game-period (global period channel) for period.tick / period.locked / period.opened / period.payout / jackpot.hit. The server must publish to this channel.',
}

View File

@@ -1,3 +0,0 @@
export default {
tip: 'Subscribe to public-operation-notice for broadcast notices such as notice.popout. The server must publish to this channel.',
}

View File

@@ -1,3 +0,0 @@
export default {
tip: 'Subscribe to private-user-{uuid}: enter the player uuid; auth uses /plugin/webman/push/auth like the mobile client. For bet.accepted, wallet.changed, etc.',
}

View File

@@ -0,0 +1,16 @@
export default {
ws_connected: 'WebSocket connected',
ws_disconnected: 'WebSocket disconnected',
config_api: 'Config API',
ws_url: 'WebSocket URL',
ws_url_placeholder: 'Input ws:// or wss:// URL',
send_message: 'Send message',
btn_load_config: 'Load config',
btn_connect: 'Connect',
btn_disconnect: 'Disconnect',
btn_send: 'Send message',
btn_clear: 'Clear log',
log_title: 'WebSocket log',
log_empty: 'No logs yet. Connect first and then send a message.',
}