feat: 框架搭建

This commit is contained in:
橙子
2024-10-14 23:31:08 +08:00
parent 36246c2945
commit 1c6a795061
17 changed files with 212 additions and 10 deletions

View File

@@ -0,0 +1,27 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Collectibles;
using Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Market;
namespace Yi.Framework.DigitalCollectibles.Application.Services;
/// <summary>
/// 藏品应用服务
/// </summary>
public class CollectiblesService:ApplicationService
{
/// <summary>
/// 获取当前用户的藏品
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="NotImplementedException"></exception>
[HttpGet("user")]
[Authorize]
public async Task<PagedResultDto<CollectiblesUserGetOutputDto>> GetForAccountUserAsync(CollectiblesUserGetInput input)
{
throw new NotImplementedException();
}
}

View File

@@ -0,0 +1,22 @@
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Market;
namespace Yi.Framework.DigitalCollectibles.Application.Services;
/// <summary>
/// 市场应用服务
/// </summary>
public class MarketService:ApplicationService
{
/// <summary>
/// 交易市场查询
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="NotImplementedException"></exception>
public async Task<PagedResultDto<MarketGetListOutputDto>> GetListAsync(MarketGetListInput input)
{
throw new NotImplementedException();
}
}

View File

@@ -9,9 +9,4 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Services\" />
</ItemGroup>
</Project>