feat: 增加评论修改功能

This commit is contained in:
xiongxiaoyang
2022-05-20 13:29:11 +08:00
parent f66732f21b
commit eec9bee904
6 changed files with 127 additions and 21 deletions

View File

@@ -18,4 +18,8 @@ export function comment(params) {
export function deleteComment(id) {
return request.delete(`/user/comment/${id}`);
}
export function updateComment(id,content) {
return request.putForm(`/user/comment/${id}`,content);
}