Exemplo n.º 1
0
 public WeixinOAuthController(AccountService accountService, IOptions <SenparcWeixinSetting> options, WeixinService weixinService)
 {
     _accountService       = accountService;
     _weixinService        = weixinService;
     _senparcWeixinSetting = options.Value;
 }
Exemplo n.º 2
0
 public LoginController(WeixinService weixinService, IQrCodeLoginCache qrCodeLoginCache, AccountService accountService)
 {
     _weixinService       = weixinService;
     _qrCodeLoginCache    = qrCodeLoginCache;
     this._accountService = accountService;
 }