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.

27 lines
606 B
C#

1 month ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Highway.Assemble.Common
{
public class ApiResponse<T>
{
/// <summary>
/// 状态码(如 200 成功400 失败500 错误)
/// </summary>
public int Code { get; set; }
/// <summary>
/// 消息(如 "操作成功"、"参数错误"
/// </summary>
public string Msg { get; set; }
/// <summary>
/// 返回数据
/// </summary>
public T Data { get; set; }
}
}