perf: 新增 chen 终端类型

pull/10779/head
Eric 1 year ago
parent 4d4644dddd
commit 42852c368c

@ -214,6 +214,14 @@ class ConnectMethodUtil:
'support': [Protocol.rdp], 'support': [Protocol.rdp],
'match': 'map' 'match': 'map'
}, },
TerminalType.chen: {
'web_methods': [WebMethod.web_gui],
'listen': [Protocol.http],
'support': [
Protocol.mysql, Protocol.postgresql, Protocol.oracle,
],
'match': 'm2m'
},
} }
return protocols return protocols

@ -49,6 +49,7 @@ class TerminalType(TextChoices):
razor = 'razor', 'Razor' razor = 'razor', 'Razor'
tinker = 'tinker', 'Tinker' tinker = 'tinker', 'Tinker'
video_worker = 'video_worker', 'Video Worker' video_worker = 'video_worker', 'Video Worker'
chen = 'chen', 'Chen'
@classmethod @classmethod
def types(cls): def types(cls):

Loading…
Cancel
Save