new request type

This commit is contained in:
2021-06-05 07:56:48 +08:00
parent 8550d663de
commit f5e4cc97ba
+11 -1
View File
@@ -1,4 +1,5 @@
using System;
namespace SimApi.Communications
{
/// <summary>
@@ -9,6 +10,15 @@ namespace SimApi.Communications
public int Id { get; set; }
}
/// <summary>
/// 动态类型单字段请求
/// </summary>
/// <typeparam name="T"></typeparam>
public class SimApiOneFieldRequest<T>
{
public T Data { get; set; }
}
/// <summary>
/// 基础分页请求
/// </summary>
@@ -17,4 +27,4 @@ namespace SimApi.Communications
public int Page { get; set; }
public int Count { get; set; }
}
}
}