using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Txgy.RBS.Framework.Api
{
public class ApiResult
{
///
/// 是否成功
///
public bool Success
{
get
{
return string.IsNullOrWhiteSpace(Message);
}
}
public ReponseCodeEnum Code { get; set; }
///
/// 特指错误消息
///
public string? Message { get; set; }
///
/// 数据源
///
public object? Data { get; set; }
///
/// 额外数据
///
public object? Tag { get; set; }
}
public enum ReponseCodeEnum
{
NoAuthorize = 1
}
}