35 lines
894 B
C#
35 lines
894 B
C#
using System.Threading.Tasks;
|
|
using ARW.Model.Dto.Api.Carts;
|
|
using ARW.Model.Dto.Api.Pay;
|
|
using ARW.Model.Models.Business.Payments;
|
|
using Senparc.Weixin.TenPayV3.Apis.BasePay;
|
|
using static Infrastructure.WeChat.TenPay.Pay;
|
|
|
|
namespace ARW.Service.Api.IBusinessService.PayManage
|
|
{
|
|
/// <summary>
|
|
/// 微信支付类Api
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-09-27
|
|
/// </summary>
|
|
public interface IPayServiceApi : IBaseService<Payment>
|
|
{
|
|
/// <summary>
|
|
/// 统一下单的业务处理
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<PayParams> HandelPrePay(CommitPayDtoApi parm);
|
|
|
|
|
|
/// <summary>
|
|
/// 支付回调的业务处理
|
|
/// </summary>
|
|
/// <param name="res"></param>
|
|
/// <returns></returns>
|
|
Task HandleNotify(OrderReturnJson res);
|
|
|
|
}
|
|
}
|