fix: 工单时区问题 rdp文件添加disableconnectionsharing 参数

pull/11002/head
feng 2023-07-18 06:34:38 -03:00
parent 0132eafeb6
commit 3b92e9e516
2 changed files with 2 additions and 3 deletions

View File

@ -125,6 +125,7 @@ class ConnectionTokenMixin:
'bookmarktype:i': '3',
'use redirection server name:i': '0',
'smart sizing:i': '1',
'disableconnectionsharing:i': '1',
# 'drivestoredirect:s': '*',
# 'domain:s': ''
# 'alternate shell:s:': '||MySQLWorkbench',

View File

@ -1,5 +1,5 @@
from django.db.transaction import atomic
from django.db.models import Model
from django.db.transaction import atomic
from django.utils.translation import ugettext as _
from rest_framework import serializers
@ -69,8 +69,6 @@ class BaseApplyAssetApplicationSerializer(serializers.Serializer):
error = _('The expiration date should be greater than the start date')
raise serializers.ValidationError({'apply_date_expired': error})
attrs['apply_date_start'] = apply_date_start
attrs['apply_date_expired'] = apply_date_expired
return attrs
@atomic