去掉更换打手接单的积分门槛,并清理旧自动提现注释里的积分校验。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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}'})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user