| | |
| | | /// </summary> |
| | | public class AlipayUtils |
| | | { |
| | | private readonly IOptions<AlipayOptions> options; |
| | | private readonly IAopClient alipayClient; |
| | | |
| | | public AlipayUtils(IOptions<AlipayOptions> options) |
| | |
| | | Console.WriteLine("调用失败"); |
| | | } |
| | | } |
| | | |
| | | public AlipayFundExpandindirectCreateResponse FundExpandindirectCreate(AlipayFundExpandindirectCreateModel model, string notifyUrl = null) |
| | | { |
| | | AlipayFundExpandindirectCreateRequest request = new AlipayFundExpandindirectCreateRequest(); |
| | | request.SetBizModel(model); |
| | | if (notifyUrl.IsNotNull()) |
| | | { |
| | | request.SetNotifyUrl(notifyUrl); |
| | | } |
| | | AlipayFundExpandindirectCreateResponse response = alipayClient.Execute(request); |
| | | return response; |
| | | } |
| | | } |
| | | } |