30 lines
878 B
C#
30 lines
878 B
C#
using JSMachine.WMS.RPC.ErpRPC.Dto.Out.BusinessResult;
|
|||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace JSMachine.WMS.RPC.ErpRPC.Dto.Out
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// API返回结果
|
||
|
|
/// </summary>
|
||
|
|
/// <typeparam name="T"></typeparam>
|
||
|
|
public class ApiResult<T>
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 200表示成功,其他数值表示失败
|
||
|
|
/// </summary>
|
||
|
|
public string ResultCode { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 指接口框架级别的错误提示信息
|
||
|
|
/// </summary>
|
||
|
|
public string ErrorMsg { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 返回业务处理结果数据,详情参考具体API说明;(Data数据结构固定, 具体数据部分放置在 "ALL" 中)
|
||
|
|
/// </summary>
|
||
|
|
public T Data { get; set; }
|
||
|
|
}
|
||
|
|
}
|