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.
45 lines
900 B
C#
45 lines
900 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AUCMA.STORE.Entity.DTO
|
|
{
|
|
/// <summary>
|
|
/// 接口返回数据
|
|
/// </summary>
|
|
public class WebApiResult
|
|
{
|
|
|
|
public WebApiResult()
|
|
{
|
|
|
|
}
|
|
|
|
public WebApiResult(int code, bool success, string msg)
|
|
{
|
|
this.code = code;
|
|
this.success = success;
|
|
this.msg = msg;
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int code { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public bool success { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string data { get; set; }
|
|
/// <summary>
|
|
/// 操作成功
|
|
/// </summary>
|
|
public string msg { get; set; }
|
|
}
|
|
}
|