|
@@ -148,7 +148,7 @@ class Usercompany extends Apic
|
|
|
}
|
|
|
|
|
|
//检查用户
|
|
|
- $find = Db::name('user')->where('mobile',$mobile)->where('id','!=',$info['user_id'])->find();
|
|
|
+ $find = Db::name('user')->where('mobile',$mobile)->where('id','NEQ',$info['user_id'])->find();
|
|
|
if($find){
|
|
|
$this->error('该手机号已被注册为客户');
|
|
|
}
|