瀏覽代碼

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

linhaohong 1 年之前
父節點
當前提交
2849c8740e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)