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: "系统接口不存在");