| | |
| | | import com.ruoyi.article.controller.forepart.dto.ArticleDTO; |
| | | import com.ruoyi.article.controller.forepart.vo.ArticleCommentsVO; |
| | | import com.ruoyi.article.controller.forepart.vo.ArticleVO; |
| | | import com.ruoyi.article.controller.management.dto.MgtArticleDTO; |
| | | import com.ruoyi.article.controller.management.dto.MgtArticleQuery; |
| | | import com.ruoyi.article.controller.management.vo.MgtArticleVO; |
| | | import com.ruoyi.article.domain.Article; |
| | |
| | | PageDTO<ArticleCommentsVO> getArticleCommentsList(ArticleDTO articleDTO); |
| | | void getReport(ArticleDTO articleDTO); |
| | | |
| | | /** |
| | | * 获取资讯列表的分页数据 |
| | | * |
| | | * @param query 资讯管理查询条件 |
| | | * @return PageDTO<ArticleVO> |
| | | */ |
| | | PageDTO<MgtArticleVO> getArticlePage(MgtArticleQuery query); |
| | | |
| | | /** |
| | | * "添加/编辑资讯 |
| | | * |
| | | * @param dto 管理后台-资讯传输对象 |
| | | */ |
| | | void saveArticle(MgtArticleDTO dto); |
| | | |
| | | /** |
| | | * 处理举报 |
| | | * |
| | | * @param id 资讯id |
| | | */ |
| | | void handleReport(Long id); |
| | | |
| | | /** |
| | | * 查看详情 |
| | | * |
| | | * @param id 资讯id |
| | | * @return MgtArticleVO |
| | | */ |
| | | MgtArticleVO getDetail(Long id); |
| | | } |