panlumeng 3 years ago
parent
commit
7f826931c6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/controller/Customar.php

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

@@ -35,7 +35,7 @@ class Customar extends BaseController
 //        if ($parent === "") {
 //            return error_show(1002, "参数parent不能为空");
 //        }
-        $item = isset($this->post['item']) && $this->post['item'] !== "" ? intval($this->post['item'] ) : "";
+        $itemid = isset($this->post['itemid']) && $this->post['itemid'] !== "" ? intval($this->post['itemid'] ) : "";
         $customer_member = isset($this->post['customer_member']) && $this->post['customer_member'] !== "" ? $this->post['customer_member'] : "";
         if ($customer_member == "") {
             return error_show(1002, "参数customer_member不能为空");
@@ -56,7 +56,7 @@ class Customar extends BaseController
                 "companyNo" => $companyNo,
                 "companyName" => $companyName,
                 "parent" => $parent,
-                "itemid" => $item,
+                "itemid" => $itemid,
                 "area" => "",
                 "comdepart" => "",
                 "commobile" => "",