|
|
@@ -69,7 +69,9 @@ class User extends UserModel
|
|
|
}
|
|
|
// 获取用户关联的第三方用户信息(当前客户端)
|
|
|
try {
|
|
|
- $userInfo['currentOauth'] = UserOauthModel::getOauth($userId, getPlatform());
|
|
|
+ if(getPlatform() != 'MP-WEIXIN'){
|
|
|
+ $userInfo['currentOauth'] = UserOauthModel::getOauth($userId, getPlatform());
|
|
|
+ }
|
|
|
} catch (\Throwable $e) {
|
|
|
throwError($e->getMessage());
|
|
|
}
|