perf: 发布机支持平台连接参数

This commit is contained in:
Eric
2024-04-22 16:29:29 +08:00
committed by Bryan
parent 52922088a9
commit 2cc67634a4
2 changed files with 3 additions and 0 deletions

View File

@@ -204,12 +204,14 @@ class ConnectionToken(JMSOrgBaseModel):
host, account, lock_key = bulk_get(host_account, ('host', 'account', 'lock_key'))
gateway = host.domain.select_gateway() if host.domain else None
platform = host.platform
data = {
'id': lock_key,
'applet': applet,
'host': host,
'gateway': gateway,
'platform': platform,
'account': account,
'remote_app_option': self.get_remote_app_option()
}