down_count
This commit is contained in:
parent
679b31dd15
commit
389029f7f1
|
@ -78,4 +78,4 @@ class MaterialViewSet(ModelViewSet):
|
|||
instance = self.get_object()
|
||||
instance.down_count = instance.down_count + 1
|
||||
instance.save()
|
||||
return Response({'path':instance.path})
|
||||
return Response({'path':instance.path, 'down_count':instance.down_count})
|
Loading…
Reference in New Issue