From f89036968470716e071f00de9d8c39a0712ca3ae Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 19 Jun 2026 22:17:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E5=90=8C=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=88?= =?UTF-8?q?=E8=A1=A5=E5=85=85=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orders/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orders/views.py b/orders/views.py index b17b1f0..924cf1b 100644 --- a/orders/views.py +++ b/orders/views.py @@ -1727,7 +1727,7 @@ class JiedanView2(APIView): # 14. 🆕 写入打手表现表(结算评价) if jiedan_dashou_id: record_dashou_biaoxian( - OrderID=dingdan_id, + dingdan_id=dingdan_id, dashou_id=jiedan_dashou_id, xingwei=3, # 3=结算 fanche_RatingCount=fanche_cishu, @@ -3593,7 +3593,7 @@ class QiangdanView(APIView): # 记录抢单表现(不影响主流程) # 如果订单表里有 bankuai 信息,可以用 order.bankuai 代替 None record_dashou_biaoxian( - OrderID=dingdan_id, + dingdan_id=dingdan_id, dashou_id=order.PlayerID, xingwei=1, jiedan_time=timezone.now(), # 直接取当前时间 @@ -3619,7 +3619,7 @@ class QiangdanView(APIView): dashou_profile = user.DashouProfile if (dashou_profile.zhuangtai != 1 or dashou_profile.zhanghaozhuangtai != 1 or - dashou_profile.DeductedPoints < 5): + dashou_profile.jifen < 5): return None return dashou_profile except UserDashou.DoesNotExist: @@ -4223,7 +4223,7 @@ class DashouTijiaoView(APIView): # ========== 新增:记录打手提交时间 ========== record_dashou_biaoxian( - OrderID=dingdan_id, + dingdan_id=dingdan_id, dashou_id=yonghuid, xingwei=2, # 提交 tijiao_time=timezone.now()