|
|
@ -125,7 +125,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
$status = intval(I('post.status', 1));
|
|
|
|
$status = intval(I('post.status', 1));
|
|
|
|
$id = intval(I('post.id', 0));
|
|
|
|
$id = intval(I('post.id', 0));
|
|
|
|
|
|
|
|
|
|
|
|
if (empty($partner)) {
|
|
|
|
if (empty($company_name)) {
|
|
|
|
$this->error('请输入合作方名称');
|
|
|
|
$this->error('请输入合作方名称');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!in_array($status, [0, 1]) || $id == 0) {
|
|
|
|
if (!in_array($status, [0, 1]) || $id == 0) {
|
|
|
|