代码调整

This commit is contained in:
dong 2023-07-31 14:03:49 +08:00
parent c710978afd
commit 68327454f2
2 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,8 @@ function getHost(): string {
// return '192.168.3.37:9091';
// return '192.168.3.15:9091';
// return '192.168.3.5:9091';
return '192.168.3.233:9091';
return '192.168.3.37:9091';
// return '192.168.3.233:9091';
// return 'test.joylink.club/bjrtss-server';
}
@ -15,7 +16,8 @@ export function getHttpBase() {
export function getWebsocketUrl() {
const host = '192.168.3.233';
const port = 8000;
// return `ws://${host}/ws-bj`;
return `ws://${host}/connection/websocket`;
return `ws://${host}:${port}/connection/websocket`;
// return `wss://${getHost()}/ws-bj`;
}

View File

@ -105,9 +105,9 @@ const columnDefs: QTableColumn[] = [
},
{ name: 'id', label: '用户ID', field: 'id', align: 'center' },
{
name: 'registerTime',
name: 'register_time',
label: '创建时间',
field: 'registerTime',
field: 'register_time',
align: 'center',
},
{