lrf402788946 4 سال پیش
والد
کامیت
735c248bf8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/service/weixin.js

+ 1 - 1
app/service/weixin.js

@@ -55,7 +55,7 @@ class WeixinAuthService extends AxiosService {
     const { code, state } = query;
     if (!code) throw new BusinessError(ErrorCode.SERVICE_FAULT, '授权未成功');
     const { appid, appSecret } = this.wxInfo;
-    const url = 'https://api.weixin.qq.com/sns/oauth2/access_token';
+    const url = '/api.weixin.qq.com/sns/oauth2/access_token';
     const params = {
       appid,
       secret: appSecret,