lrf402788946 il y a 4 ans
Parent
commit
169cb41ef4
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/service/weixin.js

+ 1 - 0
app/service/weixin.js

@@ -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) {