From f5e4cc97ba973a3655c9e6b3e75e0bdd988e4b8d Mon Sep 17 00:00:00 2001 From: xRain Date: Sat, 5 Jun 2021 07:56:48 +0800 Subject: [PATCH] new request type --- Communications/SimApiBaseRequest.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Communications/SimApiBaseRequest.cs b/Communications/SimApiBaseRequest.cs index 3f8c54b..29f0150 100644 --- a/Communications/SimApiBaseRequest.cs +++ b/Communications/SimApiBaseRequest.cs @@ -1,4 +1,5 @@ using System; + namespace SimApi.Communications { /// @@ -9,6 +10,15 @@ namespace SimApi.Communications public int Id { get; set; } } + /// + /// 动态类型单字段请求 + /// + /// + public class SimApiOneFieldRequest + { + public T Data { get; set; } + } + /// /// 基础分页请求 /// @@ -17,4 +27,4 @@ namespace SimApi.Communications public int Page { get; set; } public int Count { get; set; } } -} +} \ No newline at end of file