|
|
|
@ -284,6 +284,9 @@ class PromoteController extends ThinkController
|
|
|
|
|
if ($this->accountExist($data['account'], $_POST['id'])) {
|
|
|
|
|
$this->error('该账号已存在');
|
|
|
|
|
}
|
|
|
|
|
if (empty(I('company_id'))) {
|
|
|
|
|
$this->error('请选择推广公司');
|
|
|
|
|
}
|
|
|
|
|
$pdata = D('Promote')->where($map1)->find();
|
|
|
|
|
|
|
|
|
|
if ($pdata) {
|
|
|
|
|