panlumeng 3 年之前
父節點
當前提交
7f826931c6
共有 1 個文件被更改,包括 2 次插入2 次删除
  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" => "",