using Coldairarrow.Entity.DTO; using Coldairarrow.Entity.HuiYan; using Coldairarrow.Util; using System.Collections.Generic; using System.Threading.Tasks; namespace Coldairarrow.Business.HuiYan { public interface IcatsBusiness { Task> GetDataListAsync(PageInput input); Task GetTheDataAsync(string id); Task AddDataAsync(cats data); Task UpdateDataAsync(cats data); Task DeleteDataAsync(List ids); Task> GetTreeDataListAsync(CatsTreeInputDTO input); AjaxResult GetParentCatList(); AjaxResult AddKeyWord(CatDto model); Task> GetTreeDataListAsync(); AjaxResult AddKeyWord(KeyWordDto model); } public class CatsTreeInputDTO { public string parentId { get; set; } } public class CatTreeDTO : TreeModel { public object children { get => Children; } public string title { get => Text; } public string value { get => Id; } public string key { get => Id; } public int Type { get; set; } } }