From a88c5bf8607a44e88604f8168459a90f64b0d696 Mon Sep 17 00:00:00 2001
From: song zhou <1759742460@qq.com>
Date: 周日, 18 5月 2025 19:45:25 +0800
Subject: [PATCH] 返回值
---
Weben_CMS专用代码生成器/Code/Templete/Controller模板.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
index ec1e4eb..86e5ec5 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Controller\346\250\241\346\235\277.txt"
@@ -69,7 +69,7 @@
/// <returns></returns>
[HttpPost]
[Route("FindListByFilter")]
- public virtual async Task<List<$EntityName$Dto>> FindListByFilterAsync(Get$EntityName$Input input)
+ public virtual async Task<List<$EntityName$Dto>> FindListByFilterAsync([FromBody]Get$EntityName$Input input)
{
return await _$EntityInstanceName$AppService.FindListByFilterAsync(input);
}
@@ -80,7 +80,7 @@
/// <returns></returns>
[HttpPost]
[Route("FindSingleByFilter")]
- public virtual async Task<$EntityName$Dto> FindSingleByFilterAsync(Get$EntityName$Input input)
+ public virtual async Task<$EntityName$Dto> FindSingleByFilterAsync([FromBody]Get$EntityName$Input input)
{
return await _$EntityInstanceName$AppService.FindSingleByFilterAsync(input);
--
Gitblit v1.9.3