using POSV.Payment.AllinPay.Models.ResponseModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Payment.AllinPay.Models { public abstract class BaseResultModel { /// /// 网关返回码 /// 成功为10000,其余为失败 /// public string code { get; set; } /// /// 网关返回码描述 /// public string msg { get; set; } /// /// 业务返回码 /// 服务调用成功时,返回“OK”;失败时返回具体的错误码 /// public string subCode { get; set; } /// /// 业务返回码描述 /// public string subMsg { get; set; } /// /// 签名 /// public string sign { get; set; } protected abstract T GetResultInfo(); public CheckResultResponseInfo CheckResultResponse(BaseParamInfo request) { var res = new CheckResultResponseInfo(); return res; } } }