Exemplo n.º 1
0
 public AlipayService(IOptions <AlipayOptions> alipayOptions, IDataArchivedService dataArchivedService)
 {
     Options    = dataArchivedService.Get(SettingKey, () => alipayOptions.Value);
     _aopClient = new DefaultAopClient(Options.Gatewayurl, Options.AppId, Options.PrivateKey, "json", "1.0",
                                       Options.SignType, Options.AlipayPublicKey, Options.CharSet, Options.IsKeyFromFile);
 }