lrf402788946 пре 4 година
родитељ
комит
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;