From f291907667c3eeb476afb71df4d1d85a0bb17e44 Mon Sep 17 00:00:00 2001 From: hardstylewyl <827778732@qq.com> Date: Tue, 25 Feb 2025 09:32:25 +0800 Subject: [PATCH] =?UTF-8?q?update-package:=207.0.17=20->=207.0.18=20=20-?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8Dabp=E6=8E=A5=E5=85=A5=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SJZY.Track.Application.Contract.csproj | 2 +- .../Services/{ => ProvideServices}/ITrackContentService.cs | 4 ++-- .../Services/ProvideServices/TrackContentService.cs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) rename src/SJZY.Track.Application.Contract/Services/{ => ProvideServices}/ITrackContentService.cs (64%) 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); } }