修改了评论的删除恢复
This commit is contained in:
@@ -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 });
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user