public WeChatAuthService(IOptions <WechatOptions> options, IASampleHttpClient aSampleHttpClient, IASampleRedisCache aSampleRedisCache) { _wechatOption = options.Value; _aSampleHttpClient = aSampleHttpClient; _aSampleRedisCache = aSampleRedisCache; //_cache = MemoryCache.Default; }
public WeChatEventServices(IOptions <WechatOptions> options) { _options = options.Value; }
public WeChatPayService(IOptions <WechatOptions> options, IASampleHttpClient aSampleHttpClient) { _wxOptions = options.Value; _aSampleHttpClient = aSampleHttpClient; }