This commit is contained in:
doudou201703
2026-08-10 19:33:59 +08:00
parent 3ff0faebb9
commit 945b120733
28 changed files with 330 additions and 786 deletions
@@ -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")