|
@@ -75,7 +75,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
throw new BusinessError(ErrorCode.SERVICE_FAULT, '获得微信用户信息失败');
|
|
|
}
|
|
|
const token = res.access_token;
|
|
|
- console.log(token);
|
|
|
+ console.log(res);
|
|
|
const urlun = 'https://api.weixin.qq.com/cgi-bin/user/info?access_token=' + token + '&openid=' + openid + '&lang=zh_CN';
|
|
|
const result = await this.ctx.curl(urlun, {
|
|
|
method: 'get',
|