@ -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) {
@ -30,9 +30,9 @@
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>合作方名称:</td>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>推广公司名称:</td>
<td class="r" >
<input type="text" class="txt " name="partner" value="{$data.partner}" placeholder="请输入合作方名称">
<input type="text" class="txt " name="company_name" value="{$data.company_name}" placeholder="请输入推广公司名称">
</td>
</tr>