mirror of https://github.com/openspug/spug
upgrade
parent
c78c24b859
commit
1a7298fab3
|
@ -2,12 +2,11 @@
|
|||
# Copyright: (c) <spug.dev@gmail.com>
|
||||
# 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
|
||||
})
|
||||
|
|
|
@ -30,9 +30,6 @@ class ComTable extends React.Component {
|
|||
}, {
|
||||
title: '姓名',
|
||||
dataIndex: 'nickname',
|
||||
}, {
|
||||
title: '类型',
|
||||
dataIndex: 'type',
|
||||
}, {
|
||||
title: '角色',
|
||||
dataIndex: 'role_name'
|
||||
|
|
Loading…
Reference in New Issue