lrf402788946 4 年之前
父節點
當前提交
65c5f891e7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/controller/weixin.js

+ 1 - 0
app/controller/weixin.js

@@ -25,6 +25,7 @@ class WeixinController extends Controller {
   //       store - 默认,认证结果写入sessionStore,然后重定向回请求页面(要求请求页面和认证服务在同一域名下)
   //       store - 默认,认证结果写入sessionStore,然后重定向回请求页面(要求请求页面和认证服务在同一域名下)
   //       token - url带上token参数重定向到原始地址
   //       token - url带上token参数重定向到原始地址
   async auth() {
   async auth() {
+    console.log('in function:');
     const { redirect_uri, code, test, type, response_type = 'store', uid, qrcode, msgid, objid } = this.ctx.query;
     const { redirect_uri, code, test, type, response_type = 'store', uid, qrcode, msgid, objid } = this.ctx.query;
     if (test) {
     if (test) {
       return await this.authTest();
       return await this.authTest();