123456789101112131415161718192021222324 |
- import { axios } from '@/utils/request'
- export function fetchCommentLists (query) {
- return axios({
- url: '/comments/comments/v1/list',
- method: 'get',
- params: query
- })
- }
- export function replyComment (data) {
- return axios({
- url: '/comments/admin/v1/reply',
- method: 'post',
- data
- })
- }
- export function deleteComment (id) {
- return axios({
- url: `/comments/comments/v1/${id}`,
- method: 'delete'
- })
- }
|