fix:修复评论的一系列问题

This commit is contained in:
Xwen
2023-12-16 11:15:28 +08:00
parent 3d451824f3
commit 49c5a7289c
2 changed files with 129 additions and 74 deletions

View File

@@ -15,9 +15,10 @@ export function add(data) {
});
}
export function del(ids) {
export function del(data) {
return request({
url: `/comment/${ids}`,
url: `/comment`,
method: "delete",
data: data,
});
}