From 0eb099e7a124e967c0da2170975e843ee831848e Mon Sep 17 00:00:00 2001 From: liguoyang Date: Sun, 24 Mar 2024 21:49:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=82=E6=95=B0=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs b/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs index f2775b35..09e3b551 100644 --- a/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs +++ b/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs @@ -52,7 +52,7 @@ public class GainfosController : ControllerBase /// /// [HttpPost("page-all")] - public async Task> GetPageByCodeAsync(string code) + public async Task> GetPageByCodeAsync([FromBody] string code) { return await _gainfoService.GetPageByCodeAsync(code); }