添加轨迹内容服务

This commit is contained in:
moyongzhen 2024-02-28 14:28:19 +08:00
parent db4e0c6587
commit ca2792180a
4 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SJZY.Track.Application.Services.TrackContents
{
public interface ITrackContentService
{
}
}

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
namespace SJZY.Track.Application.Services.TrackContents
{
[ApiExplorerSettings(GroupName = "轨迹内容")]
[Route("/Track/Content")]
public class TrackContentService : ApplicationService, ITransientDependency
{
public TrackContentService()
{
}
}
}

View File

@ -1,6 +1,7 @@
using SJZY.Track.Application.Dtos.TrackStatus;
using SJZY.Track.Domain.Aggregates.TrackStatusAggregate;
using SJZY.Track.Domain.Dtos.TrackStatus;
using Volo.Abp.DependencyInjection;
namespace SJZY.Track.Application.Services.TrackStatus;
@ -9,7 +10,7 @@ namespace SJZY.Track.Application.Services.TrackStatus;
/// </summary>
[ApiExplorerSettings(GroupName = "轨迹状态")]
[Route("/Track/Status")]
public class TrackStatusService : ApplicationService
public class TrackStatusService : ApplicationService, ITransientDependency
{
private readonly ITrackStatusRepository _trackStatusRepository;

View File

@ -4,4 +4,11 @@ namespace SJZY.Track.Repository;
public class TrackContentRepository : BasicRepository<TrackContentEntity>, ITrackContentRepository, IScopedDependency
{
public TrackContentRepository()
{
}
}