|
@@ -55,6 +55,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
|
|
|
|
|
|
|
|
|
+ console.log(code);
|
|
|
const req = await this.httpGet('/api/fetch', { code });
|
|
|
if (req.errcode && req.errcode !== 0) throw new BusinessError(ErrorCode.SERVICE_FAULT, 'openid获取失败');
|
|
|
const openid = _.get(req, 'openid');
|