36 lines
934 B
C#
36 lines
934 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace CRM.Core.DTO.Hg
|
||
{
|
||
/// <summary>
|
||
/// code:状态码,0为请求成功;
|
||
/// 部分状态说明
|
||
/// -1 未知异常
|
||
/// -1001 签名不合法
|
||
/// -1002 签名验证失败
|
||
/// -1003 请求内容不合法
|
||
/// -1004 AppID不合法
|
||
// -1005 签名已过期
|
||
/// </summary>
|
||
/// <typeparam name="T"></typeparam>
|
||
public class HGApiResult<T>
|
||
{
|
||
public int code { get; set; }
|
||
/// <summary>
|
||
/// -1 未知异常
|
||
/// -1001 签名不合法
|
||
/// -1002 签名验证失败
|
||
/// -1003 请求内容不合法
|
||
/// -1004 AppID不合法
|
||
// -1005 签名已过期
|
||
/// </summary>
|
||
public int ret { get; set; }
|
||
public T data { get; set; }
|
||
public string message { get; set; }
|
||
}
|
||
}
|