|
|
@ -221,6 +221,10 @@ class PromoteController extends ThinkController
|
|
|
|
if ($this->accountExist($account)) {
|
|
|
|
if ($this->accountExist($account)) {
|
|
|
|
$this->error('该账号已存在');
|
|
|
|
$this->error('该账号已存在');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$res = M('promote', 'tab_')->where(['mobile_phone' => $mobile_phone])->field('id')->find();
|
|
|
|
|
|
|
|
if ($res) {
|
|
|
|
|
|
|
|
$this->error('该手机号已存在');
|
|
|
|
|
|
|
|
}
|
|
|
|
$company_belong = $_REQUEST['company_belong'] ?? 0;
|
|
|
|
$company_belong = $_REQUEST['company_belong'] ?? 0;
|
|
|
|
$company_relation = $_REQUEST['company_relation'] ?? 0;
|
|
|
|
$company_relation = $_REQUEST['company_relation'] ?? 0;
|
|
|
|
$data = array(
|
|
|
|
$data = array(
|
|
|
|