mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:23:26 +08:00
添加项目文件。
This commit is contained in:
28
CoreCms.Net.IServices/Pay/IAliPayServices.cs
Normal file
28
CoreCms.Net.IServices/Pay/IAliPayServices.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
|
||||
namespace CoreCms.Net.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付宝支付 服务工厂接口
|
||||
/// </summary>
|
||||
public interface IAliPayServices : IBaseServices<CoreCmsSetting>
|
||||
{
|
||||
/// <summary>
|
||||
/// 发起支付
|
||||
/// </summary>
|
||||
/// <param name="entity">实体数据</param>
|
||||
/// <returns></returns>
|
||||
WebApiCallBack PubPay(CoreCmsBillPayments entity);
|
||||
}
|
||||
}
|
||||
38
CoreCms.Net.IServices/Pay/IBalancePayServices.cs
Normal file
38
CoreCms.Net.IServices/Pay/IBalancePayServices.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
|
||||
namespace CoreCms.Net.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 余额支付 服务工厂接口
|
||||
/// </summary>
|
||||
public interface IBalancePayServices : IBaseServices<CoreCmsSetting>
|
||||
{
|
||||
/// <summary>
|
||||
/// 发起支付
|
||||
/// </summary>
|
||||
/// <param name="entity">实体数据</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> PubPay(CoreCmsBillPayments entity);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户余额退款
|
||||
/// </summary>
|
||||
/// <param name="refundInfo">退款单数据</param>
|
||||
/// <param name="paymentInfo">支付单数据</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> Refund(CoreCmsBillRefund refundInfo, CoreCmsBillPayments paymentInfo);
|
||||
}
|
||||
}
|
||||
28
CoreCms.Net.IServices/Pay/IOfflinePayServices.cs
Normal file
28
CoreCms.Net.IServices/Pay/IOfflinePayServices.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
|
||||
namespace CoreCms.Net.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 线下支付 服务工厂接口
|
||||
/// </summary>
|
||||
public interface IOfflinePayServices : IBaseServices<CoreCmsSetting>
|
||||
{
|
||||
/// <summary>
|
||||
/// 发起支付
|
||||
/// </summary>
|
||||
/// <param name="entity">实体数据</param>
|
||||
/// <returns></returns>
|
||||
WebApiCallBack PubPay(CoreCmsBillPayments entity);
|
||||
}
|
||||
}
|
||||
38
CoreCms.Net.IServices/Pay/IWeChatPayServices.cs
Normal file
38
CoreCms.Net.IServices/Pay/IWeChatPayServices.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
|
||||
namespace CoreCms.Net.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 微信支付调用 服务工厂接口
|
||||
/// </summary>
|
||||
public interface IWeChatPayServices : IBaseServices<CoreCmsSetting>
|
||||
{
|
||||
/// <summary>
|
||||
/// 发起支付
|
||||
/// </summary>
|
||||
/// <param name="entity">实体数据</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> PubPay(CoreCmsBillPayments entity);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户退款
|
||||
/// </summary>
|
||||
/// <param name="refundInfo">退款单数据</param>
|
||||
/// <param name="paymentInfo">支付单数据</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> Refund(CoreCmsBillRefund refundInfo, CoreCmsBillPayments paymentInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user