!提交代码
This commit is contained in:
19
WCS.BLL/Tool/Api/Models/ApiResult.cs
Normal file
19
WCS.BLL/Tool/Api/Models/ApiResult.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WCS.BLL.Tool.Api.Models
|
||||
{
|
||||
public class ApiResult
|
||||
{
|
||||
public string Code { get; set; }
|
||||
public string Message { get; set; }
|
||||
}
|
||||
|
||||
public class ApiResult<T> : ApiResult
|
||||
{
|
||||
public T Data { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user