panlumeng 3 жил өмнө
parent
commit
3ad3ca7d9b

+ 1 - 1
app/admin/controller/Customar.php

@@ -28,7 +28,7 @@ class Customar extends BaseController
             return error_show(1002, "参数companyName不能为空");
         }
         $parent = isset($this->post['parent']) && $this->post['parent'] !== "" ? $this->post['parent'] : "";
-        if ($parent == "") {
+        if ($parent === "") {
             return error_show(1002, "参数parent不能为空");
         }
         $customer_member = isset($this->post['customer_member']) && $this->post['customer_member'] !== "" ? $this->post['customer_member'] : "";