lrf402788946 4 lat temu
rodzic
commit
0ab426652c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/controller/weixin.js

+ 2 - 2
app/controller/weixin.js

@@ -8,10 +8,10 @@ class WeixinController extends Controller {
     this.service = this.ctx.service.weixin;
     this.service = this.ctx.service.weixin;
   }
   }
   async auth() {
   async auth() {
-    await this.ctx.service.auth(this.ctx.query);
+    await this.service.auth(this.ctx.query);
   }
   }
   async authBack() {
   async authBack() {
-    await this.ctx.service.authBack(this.ctx.query);
+    await this.service.authBack(this.ctx.query);
   }
   }
 }
 }
 module.exports = CrudController(WeixinController, {});
 module.exports = CrudController(WeixinController, {});