fix: 假单头像beijing路径;JD前缀假单统一拒绝抢单
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3667,6 +3667,10 @@ class QiangdanView(APIView):
|
||||
if not dingdan_id:
|
||||
return Response({'code': 400, 'msg': '订单ID不能为空'}, status=400)
|
||||
|
||||
dingdan_id = str(dingdan_id).strip()
|
||||
if dingdan_id.upper().startswith('JD'):
|
||||
return Response({'code': 400, 'msg': '您没充值会员或保证金不可接单'})
|
||||
|
||||
try:
|
||||
with transaction.atomic():
|
||||
# 1. 验证打手身份和状态
|
||||
|
||||
Reference in New Issue
Block a user