|
@@ -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;
|