feat: 完成积分、价值排行榜
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Analyse;
|
||||
|
||||
public class DcPointsTopUserDto
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public int Points { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Analyse;
|
||||
|
||||
public class DcValueTopUserDto
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public decimal Value { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Analyse;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Application.Contracts.IServices;
|
||||
|
||||
public interface IPointAnalyseService
|
||||
{
|
||||
/// <summary>
|
||||
/// 积分排行榜
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
// [HttpGet("analyse/dc-user/points-top/{userId?}")]
|
||||
Task<PagedResultDto<DcPointsTopUserDto>> GetValueTopAsync([FromQuery] PagedResultRequestDto input,
|
||||
[FromRoute] Guid? userId);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.DigitalCollectibles.Application.Contracts.Dtos.Analyse;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Application.Contracts.IServices;
|
||||
|
||||
public interface IValueAnalyseService
|
||||
{
|
||||
/// <summary>
|
||||
/// 价值排行榜
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
// [HttpGet("analyse/dc-user/value-top/{userId?}")]
|
||||
Task<PagedResultDto<DcValueTopUserDto>> GetValueTopAsync([FromQuery] PagedResultRequestDto input,
|
||||
[FromRoute] Guid? userId);
|
||||
}
|
||||
@@ -7,8 +7,4 @@
|
||||
<ProjectReference Include="..\..\rbac\Yi.Framework.Rbac.Application.Contracts\Yi.Framework.Rbac.Application.Contracts.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="IServices\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user