You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
692 B
23 lines
692 B
using Tiobon.Core.Common;
|
|
using Tiobon.Core.IRepository.Base;
|
|
using Tiobon.Core.IServices;
|
|
using Tiobon.Core.Model.Models;
|
|
using Tiobon.Core.Services.BASE;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Tiobon.Core.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");
|
|
}
|
|
}
|
|
}
|
|
|