添加对外接口

This commit is contained in:
moyongzhen 2024-04-11 15:21:38 +08:00
parent 3aecf92eb7
commit c2c1e24dcf
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,20 @@
using SJZY.Track.Application.Contract.Dtos.ProvideServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
namespace SJZY.Track.Application.Contract.Services
{
public interface ITrackPushConfigService : IRemoteService
{
/// <summary>
/// 查询轨迹推送配置关系
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
Task<UnifyResultDto> QueryTrackPullMappingsAsync(QueryTrackPullMappingsInput input);
}
}

View File

@ -1,4 +1,5 @@
using SJZY.Track.Application.Contract.Dtos.ProvideServices; using SJZY.Track.Application.Contract.Dtos.ProvideServices;
using SJZY.Track.Application.Contract.Services;
using SJZY.Track.Domain.Aggregates.TrackPushAggregate; using SJZY.Track.Domain.Aggregates.TrackPushAggregate;
using SJZY.Track.Domain.Dtos.TrackPush; using SJZY.Track.Domain.Dtos.TrackPush;
using System; using System;
@ -15,7 +16,7 @@ namespace SJZY.Track.Application.Services.ProvideServices
/// </summary> /// </summary>
[ApiExplorerSettings(GroupName = "提供接口")] [ApiExplorerSettings(GroupName = "提供接口")]
[Route("/ProviderService")] [Route("/ProviderService")]
public class TrackPushConfigService : ApplicationService public class TrackPushConfigService : ApplicationService, ITrackPushConfigService
{ {
private readonly ITrackPushConfigRepository _trackPushConfigRepository; private readonly ITrackPushConfigRepository _trackPushConfigRepository;