|
@@ -31,7 +31,7 @@ class Customar extends BaseController
|
|
|
if (!empty($rename)) {
|
|
|
return error_show(1002, "公司名称已存在");
|
|
|
}
|
|
|
- $parent = isset($this->post['parent']) && $this->post['parent'] !== "" ? intval($this->post['parent'] ) : "0";
|
|
|
+ $parent = isset($this->post['parent']) && $this->post['parent'] !== "" ? intval($this->post['parent'] ) : "";
|
|
|
// if ($parent === "") {
|
|
|
// return error_show(1002, "参数parent不能为空");
|
|
|
// }
|