diff --git a/src/SJZY.Track.Application.Contract/SJZY.Track.Application.Contract.csproj b/src/SJZY.Track.Application.Contract/SJZY.Track.Application.Contract.csproj index 64e5758c..f72b3cef 100644 --- a/src/SJZY.Track.Application.Contract/SJZY.Track.Application.Contract.csproj +++ b/src/SJZY.Track.Application.Contract/SJZY.Track.Application.Contract.csproj @@ -5,7 +5,7 @@ net7.0 True - 7.0.17 + 7.0.18 True diff --git a/src/SJZY.Track.Application.Contract/Services/ITrackContentService.cs b/src/SJZY.Track.Application.Contract/Services/ProvideServices/ITrackContentService.cs similarity index 64% rename from src/SJZY.Track.Application.Contract/Services/ITrackContentService.cs rename to src/SJZY.Track.Application.Contract/Services/ProvideServices/ITrackContentService.cs index 18e08d5f..95e8160c 100644 --- a/src/SJZY.Track.Application.Contract/Services/ITrackContentService.cs +++ b/src/SJZY.Track.Application.Contract/Services/ProvideServices/ITrackContentService.cs @@ -1,7 +1,7 @@ using SJZY.Track.Application.Contract.Dtos.TrackContents; using Volo.Abp; -namespace SJZY.Track.Application.Contract.Services; +namespace SJZY.Track.Application.Contract.Services.ProvideServices; public interface ITrackContentService : IRemoteService { @@ -10,5 +10,5 @@ public interface ITrackContentService : IRemoteService /// /// /// - Task> GetTrackContentsAsync(int subSystemId); + Task>> GetTrackContentsAsync(int subSystemId); } diff --git a/src/SJZY.Track.Application/Services/ProvideServices/TrackContentService.cs b/src/SJZY.Track.Application/Services/ProvideServices/TrackContentService.cs index 2494e060..115bbd5f 100644 --- a/src/SJZY.Track.Application/Services/ProvideServices/TrackContentService.cs +++ b/src/SJZY.Track.Application/Services/ProvideServices/TrackContentService.cs @@ -1,5 +1,5 @@ using SJZY.Track.Application.Contract.Dtos.TrackContents; -using SJZY.Track.Application.Contract.Services; +using SJZY.Track.Application.Contract.Services.ProvideServices; using SJZY.Track.Domain.Aggregates.TrackContentAggregate; using SJZY.Track.Domain.Dtos.TrackContents; @@ -25,10 +25,10 @@ public class TrackContentService : ApplicationService, ITrackContentService /// /// [HttpPost("Track/GetTrackContents")] - public async Task> GetTrackContentsAsync(int subSystemId) + public async Task>> GetTrackContentsAsync(int subSystemId) { var res = await _trackContentRepository.GetTrackContentBySyetemIdAsync(subSystemId); var result = ObjectMapper.Map, List>(res); - return result; + return new UnifyResultDto>(true, result); } }