diff --git a/src/configs/UrlManage.ts b/src/configs/UrlManage.ts index 290fe6d..b75d13b 100644 --- a/src/configs/UrlManage.ts +++ b/src/configs/UrlManage.ts @@ -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`; } diff --git a/src/pages/UserManage.vue b/src/pages/UserManage.vue index 43f81ba..66aca9a 100644 --- a/src/pages/UserManage.vue +++ b/src/pages/UserManage.vue @@ -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', }, {