import request from '@/utils/request' // 查询评论列表 export function listComment(query) { return request({ url: '/tCommentUser/selectAll', method: 'get', params: query }) } // 查询评论详细 export function getComment(cId) { return request({ url: '/system/comment/' + cId, method: 'get' }) } // 新增评论 export function addComment(data) { return request({ url: '/system/comment', method: 'post', data: data }) } // 修改评论 export function updateComment(data) { return request({ url: '/system/comment', method: 'put', data: data }) } // 删除评论 export function delComment(data) { return request({ url: '/tCommentUser/delete', method: 'delete', data: data }) } // 审核评论 export function auditComment(data) { return request({ url: '/tCommentUser/audit', method: 'post', data: data }) } // 批量审核评论 export function batchAuditComment(data) { return request({ url: '/tCommentUser/batchAudit', method: 'post', data: data }) } // 查询评论状态数量 export function auditStatusCount() { return request({ url: '/tCommentUser/auditStatusCount', method: 'get', }) }