From a7c595720139a6203d04fb501c90232405b6b783 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Thu, 5 Dec 2019 18:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=85=AC=E5=8F=B8=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/PromoteCompanyController.class.php | 2 +- Application/Admin/View/PromoteCompany/edit.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@
*合作方名称: | +*推广公司名称: | - + |