From 87a386a3d7b40c0882ca361e4ca04e86575adcee Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 13 Mar 2024 20:17:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=85=A5=E5=8F=82=E5=8F=96=E6=B6=88Array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Organization/Controllers/GainfosController.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs b/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs index 09e3bfcd..a3a881e5 100644 --- a/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs +++ b/Src/Dlhis.Basic/Organization/Controllers/GainfosController.cs @@ -173,12 +173,9 @@ public class GainfosController : ControllerBase /// [AllowAnonymous] [HttpPost("migrations")] - public async Task MigrationAsync(List requests) + public async Task MigrationAsync(MigrationRequest request) { - foreach (var request in requests) - { - await _gainfoService.MigrationAsync(request); - } + await _gainfoService.MigrationAsync(request); } }