import http from './index.js';

// 分页查询意见反馈
export const pageFeedback = (params) => http.get('/shop/user-feedback/page', {params})

// 查询全部意见反馈
export const listFeedback = (params) => http.get('/shop/user-feedback', {params})

// 修改意见反馈
export const addFeedback = (data) => http.post('/shop/user-feedback', data)

// 删除意见反馈
export const removeFeedback = (id) => http.delete('/shop/user-feedback/' + id)

export default {
	pageFeedback,
	listFeedback,
	addFeedback,
	removeFeedback
}
