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

+ 1 - 1
app/service/weixin.js

@@ -13,7 +13,7 @@ const { AxiosService } = require('naf-framework-mongoose/lib/service');
 
 class WeixinAuthService extends AxiosService {
   constructor(ctx) {
-    super(ctx, {}, {}); // _.get(ctx.app.config, 'wxapi')
+    super(ctx, {}, _.get(ctx.app.config, 'wxapi'));
     this.prefix = 'visit-auth:';
     this.jsapiKey = 'visit-access_token';
     this.wxInfo = ctx.app.config.wxapi;