Browse Source

定制客户模块 APP扫码工具接口

linhaohong 1 năm trước cách đây
mục cha
commit
2849c8740e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/CustomCustomer/CustomCustomerController.py

+ 1 - 1
Controller/CustomCustomer/CustomCustomerController.py

@@ -48,7 +48,7 @@ class CustomCustomerView(View):
             return response.json(444)
         try:
             custom_customer = CustomCustomerOrderInfo.objects.filter(order_number=order_number).first()
-            if custom_customer:
+            if not custom_customer:
                 return response.json(173)
             custom_customer_data = {'cId': custom_customer.id}
             return response.json(0, custom_customer_data)