panlumeng %!s(int64=3) %!d(string=hai) anos
pai
achega
3ad3ca7d9b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/admin/controller/Customar.php

+ 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'] : "";