|
|
@@ -1425,7 +1425,7 @@ class Auth extends BaseController
|
|
1425
|
1425
|
}
|
|
1426
|
1426
|
|
|
1427
|
1427
|
if ($data['type']=="register"){
|
|
1428
|
|
- $count=Db::name("user")->where("phone", $data["phone"])->count();
|
|
|
1428
|
+ $count=Db::name("user")->where("phone", $data["phone"])->where('is_del','=',0)->count();
|
|
1429
|
1429
|
if ($count){
|
|
1430
|
1430
|
return app('json')->make(405, '该手机号已注册,请直接登录');
|
|
1431
|
1431
|
}
|