| | |
| | | package com.ruoyi.article.controller; |
| | | |
| | | |
| | | import com.ruoyi.article.domain.pojo.Article; |
| | | import com.ruoyi.article.dto.ArticleDTO; |
| | | import com.ruoyi.article.service.IArticleService; |
| | | import com.ruoyi.common.core.domain.R; |
| | |
| | | @PostMapping("/getArticleList") |
| | | @ResponseBody |
| | | @ApiOperation(value = "获取资讯") |
| | | public R<PageDTO<MemberAddress>> getArticleList(ArticleDTO articleDTO) { |
| | | /* return R.ok(iArticleService.getMemberAddressList(articleDTO));*/ |
| | | return null; |
| | | public R<PageDTO<Article>> getArticleList(ArticleDTO articleDTO) { |
| | | return R.ok(iArticleService.getArticleList(articleDTO)); |
| | | } |
| | | |
| | | @PostMapping("/getMemberArticleList") |
| | | @ResponseBody |
| | | @ApiOperation(value = "获取用户资讯") |
| | | public R<PageDTO<Article>> getMemberArticleList(ArticleDTO articleDTO) { |
| | | return R.ok(iArticleService.getMemberArticleList(articleDTO)); |
| | | } |
| | | } |