From 3172f1756858fdcf94cdd65006055ecca77d3fd4 Mon Sep 17 00:00:00 2001 From: Antinew <2357729423@qq.com> Date: Sun, 13 Jul 2025 19:12:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Anull=20required?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/InterfaceMap/InterfaceMapPublishService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InterfaceForward.Application/Services/InterfaceMap/InterfaceMapPublishService.cs b/src/InterfaceForward.Application/Services/InterfaceMap/InterfaceMapPublishService.cs index 1282ac0..a8777c4 100644 --- a/src/InterfaceForward.Application/Services/InterfaceMap/InterfaceMapPublishService.cs +++ b/src/InterfaceForward.Application/Services/InterfaceMap/InterfaceMapPublishService.cs @@ -57,7 +57,7 @@ public class InterfaceMapPublishService( /// [HttpGet("InterfaceMap/GetPublishCompare")] public async Task GetPublishCompareAsync([Required] string interfaceCode, - [Required] int serviceProviderId, string version) + [Required] int serviceProviderId, string? version) { var systemInterface = await interfaceForwardQuery.GetInterfaceByCodesAsync(interfaceCode); if (systemInterface == null) throw new BusinessException(message: "系统接口不存在");