import {get, post} from '../http'

const feedback = {
  getFeedbackPages: (params) => post('feedback/getFeedbackPages', params),
  deleteFeedback: (id) => get('feedback/delFeedback', {feedbackPk: id}),
  readFeedback: (id) => get('feedback/readFeedback', {feedbackPk: id}),
  getFeedbackTypes: () => get('feedback/getTypeOfFeedbacks')
}

export default feedback;