新增点单隐藏式商品类型(shenhezhuangtai=4):扫管事码后点单可见,抢单池展示3+4,商家端仍仅3。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-21 22:12:33 +08:00
parent 9656973923
commit c865b51cdb
8 changed files with 90 additions and 15 deletions

View File

@@ -7731,7 +7731,7 @@ class DashouHuoquLeixingView(APIView):
# 条件shenhezhuangtai=1正常状态
# 排序:先按 paixu 降序(数值大的在前),再按 id 升序
leixing_queryset = ShangpinLeixing.objects.filter(
shenhezhuangtai__in=[3] # 查询状态为1或9的记录
shenhezhuangtai__in=[3, 4] # 商家端 + 点单隐藏式(抢单池可见)
).order_by('-paixu', 'id')
'''leixing_queryset = ShangpinLeixing.objects.filter(
shenhezhuangtai__in= [1,9] # 🔴 只取正常状态,排除审核专用