lrf402788946 4 years ago
parent
commit
0ab426652c
1 changed files with 2 additions and 2 deletions
  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;
   }
   async auth() {
-    await this.ctx.service.auth(this.ctx.query);
+    await this.service.auth(this.ctx.query);
   }
   async authBack() {
-    await this.ctx.service.authBack(this.ctx.query);
+    await this.service.authBack(this.ctx.query);
   }
 }
 module.exports = CrudController(WeixinController, {});