|
@@ -62,6 +62,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
grant_type: 'authorization_code',
|
|
|
};
|
|
|
const req = await this.httpGet(url, params);
|
|
|
+ console.log(req);
|
|
|
if (req.errcode && req.errcode !== 0) throw new BusinessError(ErrorCode.SERVICE_FAULT, 'openid获取失败');
|
|
|
const openid = _.get(req, 'openid');
|
|
|
if (!openid) {
|