|
|
@@ -64,7 +64,6 @@ class MiniProgram extends Api
|
|
|
$userInfo['login_type'] = $login_type;
|
|
|
$userInfo['cid'] = $this->cid;
|
|
|
User::routineOauth($userInfo);
|
|
|
- echo UserRelation::openidToUid($userInfo['openId'], 'routine_openid');
|
|
|
$user = User::where('id', UserRelation::openidToUid($userInfo['openId'], 'routine_openid'))->find();
|
|
|
if (!$user)
|
|
|
$this->error('获取用户失败');
|