评论问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user