fix:null required
This commit is contained in:
parent
979250b912
commit
3172f17568
@ -57,7 +57,7 @@ public class InterfaceMapPublishService(
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("InterfaceMap/GetPublishCompare")]
|
[HttpGet("InterfaceMap/GetPublishCompare")]
|
||||||
public async Task<InterfaceMapPublishedDifferenceVO> GetPublishCompareAsync([Required] string interfaceCode,
|
public async Task<InterfaceMapPublishedDifferenceVO> GetPublishCompareAsync([Required] string interfaceCode,
|
||||||
[Required] int serviceProviderId, string version)
|
[Required] int serviceProviderId, string? version)
|
||||||
{
|
{
|
||||||
var systemInterface = await interfaceForwardQuery.GetInterfaceByCodesAsync(interfaceCode);
|
var systemInterface = await interfaceForwardQuery.GetInterfaceByCodesAsync(interfaceCode);
|
||||||
if (systemInterface == null) throw new BusinessException(message: "系统接口不存在");
|
if (systemInterface == null) throw new BusinessException(message: "系统接口不存在");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user