import { articleApi } from '@api'

export default class ArticleAction {
  getAllClassify (obj) { return articleApi.getAllClassify(obj).then(res => res) }
  getArticle (obj) { return articleApi.getArticle(obj).then(res => res) }
  getArticleDetail (id) { return articleApi.getArticleDetail(id).then(res => res) }
}
