小说小程序前端代码仓库(小程序)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
935 B

  1. const api = {
  2. // 根据书本标识获取书本评论列表
  3. getBookCommentList: {
  4. url: '/my_comment/getCommentList',
  5. method: 'GET',
  6. },
  7. // 删除评论信息
  8. deleteComment: {
  9. url: '/my_comment/deleteComment',
  10. method: 'GET',
  11. },
  12. // 获取我的评论列表
  13. getMyCommentList: {
  14. url: '/my_comment/getMyCommentList',
  15. method: 'GET',
  16. },
  17. // 获取我的评论数
  18. getMyCommentNum: {
  19. url: '/my_comment/getMyCommentNum',
  20. method: 'GET',
  21. },
  22. // 回复评论信息
  23. replyComment: {
  24. url: '/my_comment/replyComment',
  25. method: 'POST',
  26. },
  27. // 保存评论信息
  28. saveComment: {
  29. url: '/my_comment/saveComment',
  30. method: 'POST',
  31. },
  32. // 更新评论已读状态
  33. updateCommentRead: {
  34. url: '/my_comment/updateCommentRead',
  35. method: 'POST',
  36. },
  37. // 获取评论详情
  38. getCommentDetail: {
  39. url: '/my_comment/getCommentDetail',
  40. method: 'POST',
  41. },
  42. }
  43. export default api