You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB
C#

9 months ago
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<T>
{
/// <summary>
/// 网关返回码
/// 成功为10000其余为失败
/// </summary>
public string code { get; set; }
/// <summary>
/// 网关返回码描述
/// </summary>
public string msg { get; set; }
/// <summary>
/// 业务返回码
/// 服务调用成功时返回“OK”失败时返回具体的错误码
/// </summary>
public string subCode { get; set; }
/// <summary>
/// 业务返回码描述
/// </summary>
public string subMsg { get; set; }
/// <summary>
/// 签名
/// </summary>
public string sign { get; set; }
protected abstract T GetResultInfo();
public CheckResultResponseInfo<T> CheckResultResponse(BaseParamInfo request)
{
var res = new CheckResultResponseInfo<T>();
return res;
}
}
}