From 1a7298fab31efa11249dbb62042ad0c0d98247d5 Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 16 Apr 2021 08:42:46 +0800 Subject: [PATCH] upgrade --- spug_api/spug/routing.py | 3 +-- spug_web/src/pages/system/account/Table.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/spug_api/spug/routing.py b/spug_api/spug/routing.py index 41caacf..76314f1 100644 --- a/spug_api/spug/routing.py +++ b/spug_api/spug/routing.py @@ -2,12 +2,11 @@ # Copyright: (c) # Released under the AGPL-3.0 License. from channels.routing import ProtocolTypeRouter, ChannelNameRouter -from consumer import routing, executors, consumers +from consumer import routing, executors application = ProtocolTypeRouter({ 'channel': ChannelNameRouter({ 'ssh_exec': executors.SSHExecutor, - 'notify_message': consumers.NotifyConsumer, }), 'websocket': routing.ws_router }) diff --git a/spug_web/src/pages/system/account/Table.js b/spug_web/src/pages/system/account/Table.js index 18a935b..35be53d 100644 --- a/spug_web/src/pages/system/account/Table.js +++ b/spug_web/src/pages/system/account/Table.js @@ -30,9 +30,6 @@ class ComTable extends React.Component { }, { title: '姓名', dataIndex: 'nickname', - }, { - title: '类型', - dataIndex: 'type', }, { title: '角色', dataIndex: 'role_name'