Ejemplo n.º 1
0
 public WxMessageService(
     WxAccessTokenService accessTokenService,
     WxHelper wxHelper)
 {
     this.accessTokenService = accessTokenService;
     this.wxHelper           = wxHelper;
 }
Ejemplo n.º 2
0
 public CustomerService(
     WxAccessTokenService tokenSvc,
     WxHelper wxHelper)
 {
     this.tokenSvc = tokenSvc;
     this.wxHelper = wxHelper;
 }
Ejemplo n.º 3
0
 public WxAccountService(
     IDistributedCache cache,
     WxAccessTokenService wxAccessTokenService,
     WxHelper wxHelper,
     WxAccessTokenService accessTokenSvc,
     ILogger <WxAccessTokenService> logger)
 {
     this.cache = cache;
     this.wxAccessTokenService = wxAccessTokenService;
     this.wxHelper             = wxHelper;
     this.accessTokenSvc       = accessTokenSvc;
     this.logger = logger;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// ctor
 /// </summary>
 public WxJsSdkService(
     IDistributedCache cache,
     ILogger <WxJsSdkService> logger,
     IOptions <MpWeiXinOptions> wxOption,
     WxHelper wxHelper,
     WxAccessTokenService accessTokenSvc
     )
 {
     this.cache          = cache;
     this.logger         = logger;
     this.accessTokenSvc = accessTokenSvc;
     this.wxHelper       = wxHelper;
     config = wxOption.Value;
 }