第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

20
api/user-comment.js Normal file
View File

@@ -0,0 +1,20 @@
import http from './index.js';
// 分页查询评论
export const pageComment = (params) => http.get('/shop/user-comment/page', {params})
// 查询全部评论
export const listComment = (params) => http.get('/shop/user-comment', {params})
// 修改评论
export const addComment = (data) => http.post('/shop/user-comment', data)
// 删除评论
export const removeComment = (id) => http.delete('/shop/user-comment/' + id)
export default {
pageComment,
listComment,
addComment,
removeComment
}