|
@@ -1156,9 +1156,6 @@ class User extends Api
|
|
|
$verification = $user->verification;
|
|
|
$verification->mobile = 1;
|
|
|
$user->verification = $verification;
|
|
|
- if ($user->status == 'new') {
|
|
|
- $user->status = 'normal';
|
|
|
- }
|
|
|
if (empty($user->username)) {
|
|
|
$user->username = $mobile;
|
|
|
}
|
|
@@ -1215,9 +1212,6 @@ class User extends Api
|
|
|
}
|
|
|
|
|
|
$user->openid = $openid;
|
|
|
- if ($user->status == 'new') {
|
|
|
- $user->status = 'normal';
|
|
|
- }
|
|
|
$userRes = $user->save();
|
|
|
if ($userRes) {
|
|
|
$where['openid'] = '';
|