lrf 1 tahun lalu
induk
melakukan
cc5b14d20d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/service/weixin.js

+ 1 - 1
app/service/weixin.js

@@ -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}`);