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.
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|