diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index 820a071af..21a30e831 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -125,7 +125,7 @@ class PromoteCompanyController extends ThinkController $status = intval(I('post.status', 1)); $id = intval(I('post.id', 0)); - if (empty($partner)) { + if (empty($company_name)) { $this->error('请输入合作方名称'); } if (!in_array($status, [0, 1]) || $id == 0) { diff --git a/Application/Admin/View/PromoteCompany/edit.html b/Application/Admin/View/PromoteCompany/edit.html index 8bfa4e180..c66eb4666 100644 --- a/Application/Admin/View/PromoteCompany/edit.html +++ b/Application/Admin/View/PromoteCompany/edit.html @@ -30,9 +30,9 @@ - +
*合作方名称:*推广公司名称: - +