feat: 完成公告、尊享记录功能
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
namespace Yi.Framework.AiHub.Application.Contracts.Dtos.UsageStatistics;
|
using Volo.Abp.Application.Dtos;
|
||||||
|
|
||||||
public class PremiumTokenUsageGetListOutput
|
namespace Yi.Framework.AiHub.Application.Contracts.Dtos.UsageStatistics;
|
||||||
|
|
||||||
|
public class PremiumTokenUsageGetListOutput : CreationAuditedEntityDto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// id
|
/// id
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ public class UsageStatisticsService : ApplicationService, IUsageStatisticsServic
|
|||||||
// 获取尊享包Token信息
|
// 获取尊享包Token信息
|
||||||
var entities = await _premiumPackageRepository._DbQueryable
|
var entities = await _premiumPackageRepository._DbQueryable
|
||||||
.Where(x => x.UserId == userId)
|
.Where(x => x.UserId == userId)
|
||||||
|
.OrderByDescending(x=>x.CreationTime)
|
||||||
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);
|
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);
|
||||||
return new PagedResultDto<PremiumTokenUsageGetListOutput>(total, entities.Adapt<List<PremiumTokenUsageGetListOutput>>());
|
return new PagedResultDto<PremiumTokenUsageGetListOutput>(total, entities.Adapt<List<PremiumTokenUsageGetListOutput>>());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -385,5 +385,8 @@ function handleMenuCommand(command: string, item: ConversationItem<ChatSessionVo
|
|||||||
{
|
{
|
||||||
z-index: 0 ;
|
z-index: 0 ;
|
||||||
}
|
}
|
||||||
|
.conversation-group .sticky-title{
|
||||||
|
z-index: 0 ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user