新增不验证手机 己方

master
chenzhi 4 years ago
parent 91ae987c3c
commit a020cb26df

@ -793,10 +793,10 @@ class ToolController extends ThinkController {
if(!checkPhone(I('link_phone'))) {
$this->error('联系电话格式不正确');
}
$res2 = $model->where(['link_phone' => I('link_phone')])->getField('id');
if ($res2) {
$this->error('已存在此联系电话');
}
// $res2 = $model->where(['link_phone' => I('link_phone')])->getField('id');
// if ($res2) {
// $this->error('已存在此联系电话');
// }
$time = time();
$save['partner'] = $partner;
$save['status'] = $status;

Loading…
Cancel
Save