增加信息反馈
This commit is contained in:
44
ruoyi-ui/src/api/feedback/feedback.js
Normal file
44
ruoyi-ui/src/api/feedback/feedback.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询用户反馈列表
|
||||
export function listFeedback(query) {
|
||||
return request({
|
||||
url: '/back/feedback/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询用户反馈详细
|
||||
export function getFeedback(id) {
|
||||
return request({
|
||||
url: '/back/feedback/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增用户反馈
|
||||
export function addFeedback(data) {
|
||||
return request({
|
||||
url: '/back/feedback',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改用户反馈
|
||||
export function updateFeedback(data) {
|
||||
return request({
|
||||
url: '/back/feedback',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除用户反馈
|
||||
export function delFeedback(id) {
|
||||
return request({
|
||||
url: '/back/feedback/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user