装箱接口

This commit is contained in:
caoqianming 2022-02-22 16:38:21 +08:00
parent 6cb863355f
commit 38d6b95999
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class SaleProductViewSet(ListModelMixin, DestroyModelMixin, CreateModelMixin, Ge
return Response()
@action(methods=['get', 'post'], detail=True, perms_map={'post':'sale_pack'}, serializer_class=serializers.Serializer)
@action(methods=['get', 'post'], detail=True, perms_map={'post':'sale_pack'}, serializer_class=SaleProductPackSerializer)
@transaction.atomic
def pack(self, request, pk=None):
"""