修改了评论的删除恢复

This commit is contained in:
2025-08-13 19:41:16 +08:00
parent 6bd464d01d
commit 8c90152eac
8 changed files with 216 additions and 95 deletions
@@ -64,4 +64,11 @@ export const userCommentClinicalArticleApi = {
return postRequest('/userCommentClinicalArticle/batchDelete', idList);
},
/**
* 更新删除状态 @author xing
*/
updateDeleteStatus: (commentId, deleteStatus) => {
return postRequest('/userCommentClinicalArticle/updateDeleteStatus', { commentId, deleteStatus });
},
};
@@ -64,4 +64,11 @@ export const userCommentClinicalVideoApi = {
return postRequest('/userCommentClinicalVideo/batchDelete', idList);
},
/**
* 更新删除状态 @author xing
*/
updateDeleteStatus: (commentId, deleteStatus) => {
return postRequest('/userCommentClinicalVideo/updateDeleteStatus', { commentId, deleteStatus });
},
};
@@ -64,4 +64,11 @@ export const userCommentExchangeApi = {
return postRequest('/userCommentExchange/batchDelete', idList);
},
/**
* 更新删除状态 @author xing
*/
updateDeleteStatus: (commentId, deleteStatus) => {
return postRequest('/userCommentExchange/updateDeleteStatus', { commentId, deleteStatus });
},
};