评论问题

This commit is contained in:
2025-08-12 15:22:06 +08:00
parent 8f0a66338b
commit 01598aaac1
10 changed files with 677 additions and 397 deletions
@@ -30,6 +30,25 @@ export const userCommentClinicalArticleApi = {
return postRequest('/userCommentClinicalArticle/update', param);
},
/**
* 修改评论状态 @author xing
*/
updateStatus: (commentId, status) => {
return postRequest('/userCommentClinicalArticle/updateStatus', {
commentId: commentId,
status: status
});
},
/**
* 修改置顶状态 @author xing
*/
updateTopStatus: (commentId, isTop) => {
return postRequest('/userCommentClinicalArticle/updateTopStatus', {
commentId: commentId,
isTop: isTop
});
},
/**
* 删除 @author xing
@@ -30,6 +30,25 @@ export const userCommentClinicalVideoApi = {
return postRequest('/userCommentClinicalVideo/update', param);
},
/**
* 修改评论状态 @author xing
*/
updateStatus: (commentId, status) => {
return postRequest('/userCommentClinicalVideo/updateStatus', {
commentId: commentId,
status: status
});
},
/**
* 修改置顶状态 @author xing
*/
updateTopStatus: (commentId, isTop) => {
return postRequest('/userCommentClinicalVideo/updateTopStatus', {
commentId: commentId,
isTop: isTop
});
},
/**
* 删除 @author xing
@@ -30,6 +30,25 @@ export const userCommentExchangeApi = {
return postRequest('/userCommentExchange/update', param);
},
/**
* 修改评论状态 @author xing
*/
updateStatus: (commentId, status) => {
return postRequest('/userCommentExchange/updateStatus', {
commentId: commentId,
status: status
});
},
/**
* 修改置顶状态 @author xing
*/
updateTopStatus: (commentId, isTop) => {
return postRequest('/userCommentExchange/updateTopStatus', {
commentId: commentId,
isTop: isTop
});
},
/**
* 删除 @author xing