guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
f7c33f5fc6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/weixin.js

+ 1 - 1
app/service/weixin.js

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