|
@@ -23,7 +23,6 @@ class WeixinAuthService extends AxiosService {
|
|
throw new BusinessError(ErrorCode.SERVICE_FAULT, '获得微信认证信息失败');
|
|
throw new BusinessError(ErrorCode.SERVICE_FAULT, '获得微信认证信息失败');
|
|
}
|
|
}
|
|
// const { openid } = res;
|
|
// const { openid } = res;
|
|
- console.log('1res' + JSON.stringify(res));
|
|
|
|
// // TODO: 获得用户信息
|
|
// // TODO: 获得用户信息
|
|
// res = await this.httpGet('/api.weixin.qq.com/cgi-bin/user/info?lang=zh_CN', { appid: wxapi.appid, openid });
|
|
// res = await this.httpGet('/api.weixin.qq.com/cgi-bin/user/info?lang=zh_CN', { appid: wxapi.appid, openid });
|
|
// // console.debug('res: ', res);
|
|
// // console.debug('res: ', res);
|