|
|
|
|
const api = {
|
|
// 根据书本标识获取书本评论列表
|
|
getBookCommentList: {
|
|
url: '/my_comment/getCommentList',
|
|
method: 'GET',
|
|
},
|
|
// 删除评论信息
|
|
deleteComment: {
|
|
url: '/my_comment/deleteComment',
|
|
method: 'GET',
|
|
},
|
|
// 获取我的评论列表
|
|
getMyCommentList: {
|
|
url: '/my_comment/getMyCommentList',
|
|
method: 'GET',
|
|
},
|
|
// 获取我的评论数
|
|
getMyCommentNum: {
|
|
url: '/my_comment/getMyCommentNum',
|
|
method: 'GET',
|
|
},
|
|
// 回复评论信息
|
|
replyComment: {
|
|
url: '/my_comment/replyComment',
|
|
method: 'POST',
|
|
},
|
|
// 保存评论信息
|
|
saveComment: {
|
|
url: '/my_comment/saveComment',
|
|
method: 'POST',
|
|
},
|
|
// 更新评论已读状态
|
|
updateCommentRead: {
|
|
url: '/my_comment/updateCommentRead',
|
|
method: 'POST',
|
|
},
|
|
// 获取评论详情
|
|
getCommentDetail: {
|
|
url: '/my_comment/getCommentDetail',
|
|
method: 'POST',
|
|
},
|
|
}
|
|
|
|
export default api
|