-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from bing-framework/dev_3.1
发布 2.2.6
- Loading branch information
Showing
1,287 changed files
with
76,383 additions
and
77,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<Project> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' "> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' "> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayAppPayService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
using System.Threading.Tasks; | ||
using Bing.Biz.Payments.Alipay.Parameters.Requests; | ||
|
||
namespace Bing.Biz.Payments.Alipay.Abstractions | ||
namespace Bing.Biz.Payments.Alipay.Abstractions; | ||
|
||
/// <summary> | ||
/// 支付宝App支付服务 | ||
/// </summary> | ||
public interface IAlipayAppPayService | ||
{ | ||
/// <summary> | ||
/// 支付宝App支付服务 | ||
/// 支付 | ||
/// </summary> | ||
public interface IAlipayAppPayService | ||
{ | ||
/// <summary> | ||
/// 支付 | ||
/// </summary> | ||
/// <param name="request">支付参数</param> | ||
Task<string> PayAsync(AlipayAppPayRequest request); | ||
} | ||
} | ||
/// <param name="request">支付参数</param> | ||
Task<string> PayAsync(AlipayAppPayRequest request); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayNotifyService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using Bing.Biz.Payments.Core; | ||
|
||
namespace Bing.Biz.Payments.Alipay.Abstractions | ||
namespace Bing.Biz.Payments.Alipay.Abstractions; | ||
|
||
/// <summary> | ||
/// 支付宝通知服务 | ||
/// </summary> | ||
public interface IAlipayNotifyService : INotifyService | ||
{ | ||
/// <summary> | ||
/// 支付宝通知服务 | ||
/// 买家支付宝用户号 | ||
/// </summary> | ||
public interface IAlipayNotifyService : INotifyService | ||
{ | ||
/// <summary> | ||
/// 买家支付宝用户号 | ||
/// </summary> | ||
string BuyerId { get; } | ||
} | ||
} | ||
string BuyerId { get; } | ||
} |
35 changes: 17 additions & 18 deletions
35
components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayPagePayService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
using System.Threading.Tasks; | ||
using Bing.Biz.Payments.Alipay.Parameters.Requests; | ||
|
||
namespace Bing.Biz.Payments.Alipay.Abstractions | ||
namespace Bing.Biz.Payments.Alipay.Abstractions; | ||
|
||
/// <summary> | ||
/// 支付宝电脑网站支付服务 | ||
/// </summary> | ||
public interface IAlipayPagePayService | ||
{ | ||
/// <summary> | ||
/// 支付宝电脑网站支付服务 | ||
/// 支付,返回跳转地址 | ||
/// </summary> | ||
public interface IAlipayPagePayService | ||
{ | ||
/// <summary> | ||
/// 支付,返回跳转地址 | ||
/// </summary> | ||
/// <param name="request">支付宝电脑网站支付参数</param> | ||
/// <returns></returns> | ||
Task<string> PayAsync(AlipayPagePayRequest request); | ||
/// <param name="request">支付宝电脑网站支付参数</param> | ||
/// <returns></returns> | ||
Task<string> PayAsync(AlipayPagePayRequest request); | ||
|
||
/// <summary> | ||
/// 支付,跳转到支付宝收银台 | ||
/// </summary> | ||
/// <param name="request">支付宝电脑网址支付参数</param> | ||
/// <returns></returns> | ||
Task RedirectAsync(AlipayPagePayRequest request); | ||
} | ||
} | ||
/// <summary> | ||
/// 支付,跳转到支付宝收银台 | ||
/// </summary> | ||
/// <param name="request">支付宝电脑网址支付参数</param> | ||
/// <returns></returns> | ||
Task RedirectAsync(AlipayPagePayRequest request); | ||
} |
23 changes: 11 additions & 12 deletions
23
components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayQrCodePayService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
using System.Threading.Tasks; | ||
using Bing.Biz.Payments.Alipay.Parameters.Requests; | ||
|
||
namespace Bing.Biz.Payments.Alipay.Abstractions | ||
namespace Bing.Biz.Payments.Alipay.Abstractions; | ||
|
||
/// <summary> | ||
/// 支付宝二维码支付服务 | ||
/// </summary> | ||
public interface IAlipayQrCodePayService | ||
{ | ||
/// <summary> | ||
/// 支付宝二维码支付服务 | ||
/// 支付 | ||
/// </summary> | ||
public interface IAlipayQrCodePayService | ||
{ | ||
/// <summary> | ||
/// 支付 | ||
/// </summary> | ||
/// <param name="request">支付参数</param> | ||
/// <returns></returns> | ||
Task<string> PayAsync(AlipayPrecreateRequest request); | ||
} | ||
} | ||
/// <param name="request">支付参数</param> | ||
/// <returns></returns> | ||
Task<string> PayAsync(AlipayPrecreateRequest request); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.