添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View 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);
}
}

View 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);
}
}

View 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);
}
}

View 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);
}
}