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;
|
2019-11-21 00:46:39 +08:00
|
|
|
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);
|
|
|
|
|
2019-11-21 00:46:39 +08:00
|
|
|
Map postArticle(Integer idArticle, String articleTitle, String articleContent, String articleContentHtml, String articleTags, HttpServletRequest request) throws MallApiException;
|
2019-11-18 01:22:27 +08:00
|
|
|
|
2019-11-21 00:46:39 +08:00
|
|
|
ArticleDTO findArticleDTOById(Integer id, int i);
|
2019-11-17 01:24:42 +08:00
|
|
|
}
|