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