From bc22bd0df15d84540f01143f56f61794ded93b2d Mon Sep 17 00:00:00 2001 From: XingQue Date: Tue, 21 Jul 2026 23:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=9B=B4=E6=8D=A2=E6=89=93?= =?UTF-8?q?=E6=89=8B=E6=8E=A5=E5=8D=95=E7=9A=84=E7=A7=AF=E5=88=86=E9=97=A8?= =?UTF-8?q?=E6=A7=9B=EF=BC=8C=E5=B9=B6=E6=B8=85=E7=90=86=E6=97=A7=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=8F=90=E7=8E=B0=E6=B3=A8=E9=87=8A=E9=87=8C=E7=9A=84?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=A0=A1=E9=AA=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- yonghu/views.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/yonghu/views.py b/yonghu/views.py index 4243b35..6082597 100644 --- a/yonghu/views.py +++ b/yonghu/views.py @@ -8959,9 +8959,6 @@ class KefuChangeDashouView(APIView): # 7. 验证打手状态(打手状态和账号状态必须为1) if new_dashou_profile.zhuangtai != 1 or new_dashou_profile.zhanghaozhuangtai != 1: return Response({'code': 400, 'msg': '打手接单中,状态不允许再次接单'}) - # 8. 验证打手积分是否足够(至少5分) - if new_dashou_profile.jifen < 5: - return Response({'code': 400, 'msg': '打手积分不足,无法接单'}) # 8. 根据订单的抢单要求类型进行额外验证 yaoqiuleixing = order.yaoqiuleixing @@ -12881,8 +12878,6 @@ class TixianShenqingV3View(APIView): return Response({'code': 8, 'msg': '打手账号被封禁'}) if dashou.zhuangtai != 1: return Response({'code': 9, 'msg': '有订单进行中,请完成后提现'}) - if dashou.jifen != 10: - return Response({'code': 10, 'msg': '积分不是10分'}) if dashou.yue < jine: return Response({'code': 11, 'msg': f'余额不足,当前余额: {dashou.yue}'})