update: 【GetAvailableContent】接口反参增加【附件文件】和【用户是否可见】
This commit is contained in:
parent
7419001845
commit
c98e1e7d8a
@ -1,3 +1,5 @@
|
|||||||
|
using SJZY.Track.Application.Contract.Dtos.ProvideServices;
|
||||||
|
|
||||||
namespace SJZY.Track.Application.Contract.Dtos.TrackContents;
|
namespace SJZY.Track.Application.Contract.Dtos.TrackContents;
|
||||||
|
|
||||||
public class GetAvailableContentOutput
|
public class GetAvailableContentOutput
|
||||||
@ -89,4 +91,14 @@ public class GetAvailableContentOutput
|
|||||||
/// 目的地时区
|
/// 目的地时区
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float? DestinationTimeZone { get; set; }
|
public float? DestinationTimeZone { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 附件文件集合
|
||||||
|
/// </summary>
|
||||||
|
public List<FileItemDto>? FileItems { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 客户是否可见
|
||||||
|
/// </summary>
|
||||||
|
public bool IsVisibility { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -380,6 +380,12 @@ public class TrackContentService : ApplicationService
|
|||||||
TrackPlaceCityId = matchItem.TrackPlaceCityId,
|
TrackPlaceCityId = matchItem.TrackPlaceCityId,
|
||||||
Remarks = matchItem.Remarks,
|
Remarks = matchItem.Remarks,
|
||||||
TrackTimeZoneValue = matchItem.DestinationTimeZone,
|
TrackTimeZoneValue = matchItem.DestinationTimeZone,
|
||||||
|
IsVisibility = matchItem.IsVisibility,
|
||||||
|
FileItems = matchItem.Files?.Select(x => new FileItemDto
|
||||||
|
{
|
||||||
|
FileName = x.FileName,
|
||||||
|
OssKey = x.OssKey
|
||||||
|
}).ToList()
|
||||||
});
|
});
|
||||||
matchContent.AddRange(match);
|
matchContent.AddRange(match);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user