six_003
This commit is contained in:
@@ -27,7 +27,6 @@ class 商品接口ViewSets(ViewSet):
|
||||
pass
|
||||
赢免单商品数据 = Goods.objects.filter(goods_商品销售场景=goods商品Choices.赢免单.value).first()
|
||||
data = model_to_dict(instance=赢免单商品数据, fields=None, exclude=None)
|
||||
print("赢免单,商品查询没有结果了吗", data)
|
||||
return Response(data=data)
|
||||
|
||||
@action(detail=False, methods=["post"], url_path="query")
|
||||
|
||||
Reference in New Issue
Block a user