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