mirror of https://github.com/openspug/spug
upgrade
parent
c78c24b859
commit
1a7298fab3
|
@ -2,12 +2,11 @@
|
||||||
# Copyright: (c) <spug.dev@gmail.com>
|
# Copyright: (c) <spug.dev@gmail.com>
|
||||||
# Released under the AGPL-3.0 License.
|
# Released under the AGPL-3.0 License.
|
||||||
from channels.routing import ProtocolTypeRouter, ChannelNameRouter
|
from channels.routing import ProtocolTypeRouter, ChannelNameRouter
|
||||||
from consumer import routing, executors, consumers
|
from consumer import routing, executors
|
||||||
|
|
||||||
application = ProtocolTypeRouter({
|
application = ProtocolTypeRouter({
|
||||||
'channel': ChannelNameRouter({
|
'channel': ChannelNameRouter({
|
||||||
'ssh_exec': executors.SSHExecutor,
|
'ssh_exec': executors.SSHExecutor,
|
||||||
'notify_message': consumers.NotifyConsumer,
|
|
||||||
}),
|
}),
|
||||||
'websocket': routing.ws_router
|
'websocket': routing.ws_router
|
||||||
})
|
})
|
||||||
|
|
|
@ -30,9 +30,6 @@ class ComTable extends React.Component {
|
||||||
}, {
|
}, {
|
||||||
title: '姓名',
|
title: '姓名',
|
||||||
dataIndex: 'nickname',
|
dataIndex: 'nickname',
|
||||||
}, {
|
|
||||||
title: '类型',
|
|
||||||
dataIndex: 'type',
|
|
||||||
}, {
|
}, {
|
||||||
title: '角色',
|
title: '角色',
|
||||||
dataIndex: 'role_name'
|
dataIndex: 'role_name'
|
||||||
|
|
Loading…
Reference in New Issue