using Tiobon.Core.IServices.BASE; using Tiobon.Core.Model; using Tiobon.Core.Model.ViewModels; using System.Threading.Tasks; namespace Tiobon.Core.IServices { /// /// IPayServices /// public interface IPayServices : IBaseServices> { /// /// 被扫支付 /// /// Task> Pay(PayNeedModel payModel); /// /// 退款 /// /// /// Task> PayRefund(PayRefundNeedModel payModel); /// /// 轮询查询 /// /// /// 轮询次数 /// Task> PayCheck(PayNeedModel payModel,int times); /// /// 验证签名 /// /// 参数 /// 签名 /// 公钥 /// bool NotifyCheck(string strSrc, string sign, string pubKey); } }