import $axios from '../index'

const statusApi = {
  statusPubApi: '/api/mblog/status',
  statusRecommendApi: '/api/mblog/status',
  answerRecommendApi: '/api/mblog/answer'
}

// 状态发布接口
export function pubStatus(statusPost) {
  return $axios.post(statusApi.statusPubApi, statusPost)
}

// 状态获取接口
export function statusRecommend(page) {
  return $axios.get(statusApi.statusRecommendApi + '/' + page)
}

export function answerRecommend(page) {
  return $axios.get(statusApi.answerRecommendApi + '/' + page)
}
