fix: 命令输出取消长度限制

pull/13092/head
feng 2024-04-19 17:08:03 +08:00 committed by 老广
parent d4c8425218
commit 94286caec4
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class SessionCommandSerializerMixin(serializers.Serializer):
id = serializers.UUIDField(read_only=True)
# 限制 64 字符,不能直接迁移成 128 字符,命令表数据量会比较大
account = serializers.CharField(label=_("Account "))
output = serializers.CharField(max_length=2048, allow_blank=True, label=_("Output"))
output = serializers.CharField(allow_blank=True, label=_("Output"))
timestamp = serializers.IntegerField(label=_('Timestamp'))
timestamp_display = serializers.DateTimeField(read_only=True, label=_('Datetime'))
remote_addr = serializers.CharField(read_only=True, label=_('Remote Address'))