import BaseACTION from './base_action'
import { News } from '@api'

export default class NewsAction extends BaseACTION {
  newsList(obj) {
    return News.newsList(obj).then(res => res)
  }

  news(id) {
    return News.news(id).then(res => res)
  }

  postNes(obj) {
    return News.postNes(obj).then(res => res)
  }
}
