|
@@ -17,7 +17,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
// TODO:参数检查和默认参数处理
|
|
|
assert(code);
|
|
|
const { wxapi } = this.app.config;
|
|
|
- const res = await this.httpGet('/api/fetch', { code });
|
|
|
+ const res = await this.httpGet('http://api.jilinjobswx.cn/api/fetch', { code });
|
|
|
console.log(res);
|
|
|
if (res.errcode && res.errcode !== 0) {
|
|
|
this.ctx.logger.error(`[WeixinAuthService] fetch open by code fail, errcode: ${res.errcode}, errmsg: ${res.errmsg}`);
|