Эх сурвалжийг харах

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

linhaohong 1 жил өмнө
parent
commit
2849c8740e

+ 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)