forest/src/main/java/com/rymcu/vertical/service/ArticleService.java

19 lines
686 B
Java
Raw Normal View History

2019-11-17 01:24:42 +08:00
package com.rymcu.vertical.service;
import com.rymcu.vertical.core.service.Service;
2019-11-18 01:22:27 +08:00
import com.rymcu.vertical.dto.ArticleDTO;
2019-11-17 01:24:42 +08:00
import com.rymcu.vertical.entity.Article;
import com.rymcu.vertical.web.api.exception.MallApiException;
2019-11-17 01:24:42 +08:00
2019-11-18 01:22:27 +08:00
import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;
2019-11-17 01:24:42 +08:00
public interface ArticleService extends Service<Article> {
2019-11-18 01:22:27 +08:00
List<ArticleDTO> articles(String searchText, String tag);
Map postArticle(Integer idArticle, String articleTitle, String articleContent, String articleContentHtml, String articleTags, HttpServletRequest request) throws MallApiException;
2019-11-18 01:22:27 +08:00
ArticleDTO findArticleDTOById(Integer id, int i);
2019-11-17 01:24:42 +08:00
}