lrf402788946 4 năm trước cách đây
mục cha
commit
5b23534ead
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/controller/weixin.js

+ 1 - 0
app/controller/weixin.js

@@ -203,6 +203,7 @@ class WeixinController extends Controller {
   // GET 签到小程序请求用户
   async appAuth() {
     const { js_code, login = true } = this.ctx.query;
+    console.warn(`query=>${this.ctx.query}`);
     console.warn(`js_code=>${js_code}`);
     const appopenid = await this.ctx.service.weixin.appAuth(js_code);
     if (!login) this.ctx.ok(appopenid);