mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:23:25 +08:00
54 lines
1.9 KiB
C#
54 lines
1.9 KiB
C#
/***********************************************************************
|
|
* 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 Aop.Api.Response;
|
|
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>
|
|
Task<WebApiCallBack> PubPay(CoreCmsBillPayments entity);
|
|
|
|
|
|
/// <summary>
|
|
/// 用户退款
|
|
/// </summary>
|
|
/// <param name="refundInfo">退款单数据</param>
|
|
/// <param name="paymentInfo">支付单数据</param>
|
|
/// <returns></returns>
|
|
Task<WebApiCallBack> Refund(CoreCmsBillRefund refundInfo, CoreCmsBillPayments paymentInfo);
|
|
|
|
/// <summary>
|
|
/// 根据票据返回app_auth_token相关信息
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <returns></returns>
|
|
AlipaySystemOauthTokenResponse GetAliPayAppAuthTokenBYCode(string code);
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
AlipayUserInfoShareResponse GetAliPayUserInfoByToken(string token);
|
|
|
|
}
|
|
} |