创建和更新时间

This commit is contained in:
caoqianming 2021-09-30 10:03:15 +08:00
parent 8a43ad7ee7
commit bb53fbe220
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class TicketListSerializer(serializers.ModelSerializer):
class Meta:
model = Ticket
fields = ['id', 'title', 'sn', 'workflow', 'workflow_', 'state', 'state_', 'act_state']
fields = ['id', 'title', 'sn', 'workflow', 'workflow_', 'state', 'state_', 'act_state', 'create_time', 'update_time']
@staticmethod
def setup_eager_loading(queryset):