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