lrf402788946 4 лет назад
Родитель
Сommit
fa3d5ff6fb
1 измененных файлов с 1 добавлено и 1 удалено
  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;