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); }