mirror of https://github.com/jumpserver/jumpserver
fix: 修改命令timestamp_display只读
parent
c240a471dc
commit
6d8e8856ac
|
@ -36,7 +36,7 @@ class SessionCommandSerializer(SimpleSessionCommandSerializer):
|
|||
output = serializers.CharField(max_length=2048, allow_blank=True, label=_("Output"))
|
||||
risk_level_display = serializers.SerializerMethodField(label=_('Risk level display'))
|
||||
timestamp = serializers.IntegerField(label=_('Timestamp'))
|
||||
timestamp_display = serializers.DateTimeField(label=_('Datetime'))
|
||||
timestamp_display = serializers.DateTimeField(read_only=True, label=_('Datetime'))
|
||||
remote_addr = serializers.CharField(read_only=True, label=_('Remote Address'))
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue