lrf402788946 4 年之前
父节点
当前提交
11596757bb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/service/weixin.js

+ 1 - 0
app/service/weixin.js

@@ -43,6 +43,7 @@ class WeixinAuthService extends AxiosService {
       backUrl = encodeURI(`${this.ctx.protocol}://${this.ctx.host}${this.authBackUrl}?state=${state}`);
     }
     const to_uri = `${baseUrl}/api/auth?appid=${appid}&response_type=code&redirect_uri=${backUrl}#wechat`;
+    console.log(to_uri);
     this.ctx.redirect(to_uri);
   }