|
...
|
...
|
@@ -58,7 +58,7 @@ class UserLogic extends BaseLogic |
|
|
|
if($info !== false){
|
|
|
|
$this->fail('当前手机号码已存在');
|
|
|
|
}
|
|
|
|
$info = $this->model->read(['project_id'=>$this->param['id'],'role_id'=>0]);
|
|
|
|
$info = $this->model->read(['project_id'=>$this->param['project_id'],'role_id'=>0]);
|
|
|
|
if($info !== false){
|
|
|
|
$this->fail('当前项目已存在超级管理员,请选择其他项目');
|
|
|
|
}
|
...
|
...
|
|