|
@@ -145,6 +145,10 @@ class Base
|
|
|
//$mobile = Dever::load('passport/reg')->checkMobileExists();
|
|
|
$mobile = Dever::input('mobile');
|
|
|
if ($mobile && $uid) {
|
|
|
+ $info = Dever::load('passport/user-one', array('mobile' => $mobile));
|
|
|
+ if ($info && $info['bind'] == 1) {
|
|
|
+ Dever::alert('该手机号已绑定');
|
|
|
+ }
|
|
|
$uid = $this->combine($uid, $mobile, 'mobile');
|
|
|
$info = Dever::load('passport/user-one', $uid);
|
|
|
$result['mobile'] = $mobile;
|