TG.WXCRM.V4/Core.DTO/Hg/HGApiResult.cs

36 lines
934 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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