talk_appAmin/api/signln/FriendReport/FriendReport.js

45 lines
823 B
JavaScript

import request from '@/utils/request'
// 查询举报列表
export function listFriendReport(query) {
return request({
url: '/FriendReport/FriendReport/list',
method: 'get',
params: query
})
}
// 查询举报详细
export function getFriendReport(id) {
return request({
url: '/FriendReport/FriendReport/' + id,
method: 'get'
})
}
// 新增举报
export function addFriendReport(data) {
return request({
url: '/FriendReport/FriendReport',
method: 'post',
data: data
})
}
// 修改举报
export function updateFriendReport(data) {
return request({
url: '/FriendReport/FriendReport',
method: 'put',
data: data
})
}
// 删除举报
export function delFriendReport(id) {
return request({
url: '/FriendReport/FriendReport/' + id,
method: 'delete'
})
}