爆肝,重构框架,你懂得
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface IAgreeService : IBaseService<AgreeEntity>
|
||||
{
|
||||
Task<bool> OperateAsync(long articleOrCommentId, long userId);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface IArticleService:IBaseService<ArticleEntity>
|
||||
{
|
||||
Task<PageModel<List<ArticleEntity>>> SelctPageList(ArticleEntity eneity, PageParModel page);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Interface.Base;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface.BBS
|
||||
{
|
||||
public partial interface ICommentService:IBaseService<CommentEntity>
|
||||
{
|
||||
Task<bool> AddAsync(CommentEntity comment);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user