This commit is contained in:
cjd
2025-11-04 21:09:16 +08:00
parent 8260e293c7
commit bb90a020dc
592 changed files with 61749 additions and 27 deletions

View File

@@ -0,0 +1,23 @@
using DouyinApi.Common;
using DouyinApi.IRepository.Base;
using DouyinApi.IServices;
using DouyinApi.Model.Models;
using DouyinApi.Services.BASE;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DouyinApi.Services
{
public class TopicDetailServices : BaseServices<TopicDetail>, ITopicDetailServices
{
/// <summary>
/// 获取开Bug数据缓存
/// </summary>
/// <returns></returns>
[Caching(AbsoluteExpiration = 10)]
public async Task<List<TopicDetail>> GetTopicDetails()
{
return await base.Query(a => !a.tdIsDelete && a.tdSectendDetail == "tbug");
}
}
}