|
@@ -368,10 +368,6 @@ class User extends Api
|
|
|
if($user['status']=='hidden'){
|
|
|
$this->error('用户被禁用');
|
|
|
}
|
|
|
- if(!empty($returnData['unionid'])){
|
|
|
- $user['unionid']=$returnData['unionid'];
|
|
|
- $user->save();
|
|
|
- }
|
|
|
$this->auth->direct($user['id']);
|
|
|
UserLoginRange::addRange($this->auth->getUser());
|
|
|
$info['user']=$this->auth->getUserinfo();
|