update-package: 7.0.17 -> 7.0.18
- 修复abp接入调用失败
This commit is contained in:
parent
fc55f1d9a8
commit
f291907667
@ -5,7 +5,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<Version>7.0.17</Version>
|
||||
<Version>7.0.18</Version>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@ -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
|
||||
/// </summary>
|
||||
/// <param name="subSystemId"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<TrackContentOutput>> GetTrackContentsAsync(int subSystemId);
|
||||
Task<UnifyResultDto<List<TrackContentOutput>>> GetTrackContentsAsync(int subSystemId);
|
||||
}
|
||||
@ -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
|
||||
/// <param name="subSystemId"></param>
|
||||
/// <returns></returns>
|
||||
[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 result = ObjectMapper.Map<List<TrackContentVO>, List<TrackContentOutput>>(res);
|
||||
return result;
|
||||
return new UnifyResultDto<List<TrackContentOutput>>(true, result);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user