update-package: 7.0.17 -> 7.0.18

- 修复abp接入调用失败
This commit is contained in:
hardstylewyl 2025-02-25 09:32:25 +08:00
parent fc55f1d9a8
commit f291907667
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<GenerateDocumentationFile>True</GenerateDocumentationFile> <GenerateDocumentationFile>True</GenerateDocumentationFile>
<Version>7.0.17</Version> <Version>7.0.18</Version>
<GenerateDocumentationFile>True</GenerateDocumentationFile> <GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
using SJZY.Track.Application.Contract.Dtos.TrackContents; using SJZY.Track.Application.Contract.Dtos.TrackContents;
using Volo.Abp; using Volo.Abp;
namespace SJZY.Track.Application.Contract.Services; namespace SJZY.Track.Application.Contract.Services.ProvideServices;
public interface ITrackContentService : IRemoteService public interface ITrackContentService : IRemoteService
{ {
@ -10,5 +10,5 @@ public interface ITrackContentService : IRemoteService
/// </summary> /// </summary>
/// <param name="subSystemId"></param> /// <param name="subSystemId"></param>
/// <returns></returns> /// <returns></returns>
Task<List<TrackContentOutput>> GetTrackContentsAsync(int subSystemId); Task<UnifyResultDto<List<TrackContentOutput>>> GetTrackContentsAsync(int subSystemId);
} }

View File

@ -1,5 +1,5 @@
using SJZY.Track.Application.Contract.Dtos.TrackContents; 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.Aggregates.TrackContentAggregate;
using SJZY.Track.Domain.Dtos.TrackContents; using SJZY.Track.Domain.Dtos.TrackContents;
@ -25,10 +25,10 @@ public class TrackContentService : ApplicationService, ITrackContentService
/// <param name="subSystemId"></param> /// <param name="subSystemId"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost("Track/GetTrackContents")] [HttpPost("Track/GetTrackContents")]
public async Task<List<TrackContentOutput>> GetTrackContentsAsync(int subSystemId) public async Task<UnifyResultDto<List<TrackContentOutput>>> GetTrackContentsAsync(int subSystemId)
{ {
var res = await _trackContentRepository.GetTrackContentBySyetemIdAsync(subSystemId); var res = await _trackContentRepository.GetTrackContentBySyetemIdAsync(subSystemId);
var result = ObjectMapper.Map<List<TrackContentVO>, List<TrackContentOutput>>(res); var result = ObjectMapper.Map<List<TrackContentVO>, List<TrackContentOutput>>(res);
return result; return new UnifyResultDto<List<TrackContentOutput>>(true, result);
} }
} }