From 07f4fdd92dc2f1a2d6fa36a4b5e34dec94d815b5 Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 28 Jul 2023 18:06:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rdp=20file=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=A4=9A=E5=B1=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/api/connection_token.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/authentication/api/connection_token.py b/apps/authentication/api/connection_token.py index 566d080b5..f16bb459c 100644 --- a/apps/authentication/api/connection_token.py +++ b/apps/authentication/api/connection_token.py @@ -64,6 +64,10 @@ class RDPFileClientProtocolURLMixin: 'use redirection server name:i': '0', 'smart sizing:i': '1', } + # 设置多屏显示 + multi_mon = is_true(self.request.query_params.get('multi_mon')) + if multi_mon: + rdp_options['use multimon:i'] = '1' # 设置磁盘挂载 drives_redirect = is_true(self.request.query_params.get('drives_redirect'))