add【轨迹中心对外接口提供--新增轨迹/更新轨迹订单】https://www.tapd.cn/60863849/prong/tasks/view/1160863849001016386
This commit is contained in:
parent
9ae2a8335a
commit
88aba1edb8
@ -4,7 +4,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Version>0.0.2</Version>
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SJZY.Expand.ABP.Common" Version="7.0.11" />
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
using SJZY.Track.Application.Contract.Dtos.ProvideServices;
|
||||
using Volo.Abp;
|
||||
|
||||
namespace SJZY.Track.Application.Contract.Services;
|
||||
|
||||
public interface IOrderService : IRemoteService
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建订单,订单已存在则视为更新
|
||||
/// </summary>
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> UpsertAsync(UpsertOrderInput input);
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
using SJZY.Track.Application.Contract.Dtos.ProvideServices;
|
||||
using SJZY.Track.Application.Contract.Services;
|
||||
using SJZY.Track.Domain.Aggregates.OrderAggregate;
|
||||
using SJZY.UserCenter.HttpApi.Services;
|
||||
|
||||
@ -9,7 +10,7 @@ namespace SJZY.Track.Application.Services.ProvideServices;
|
||||
/// </summary>
|
||||
[ApiExplorerSettings(GroupName = "提供接口")]
|
||||
[Route("/ProviderService")]
|
||||
public class OrderService : ApplicationService
|
||||
public class OrderService : ApplicationService, IOrderService
|
||||
{
|
||||
private readonly IOrderRepository _orderRepository;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user