小说小程序前端代码仓库(小程序)
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.

43 lines
905 B

  1. // 书架相关接口
  2. const api = {
  3. // 批量移除我阅读过的数据根据书籍标识
  4. batchRemoveReadBook: {
  5. url: '/all_book/batchRemoveReadBook',
  6. method: 'GET',
  7. auth: true,
  8. },
  9. // 获取我的作品带分页
  10. getMyBookPage: {
  11. url: '/all_book/getMyBookPage',
  12. method: 'GET',
  13. auth: true,
  14. },
  15. // 获取我阅读过的书籍列表带分页
  16. getReadBookPage: {
  17. url: '/all_book/getReadBookPage',
  18. method: 'GET',
  19. auth: true,
  20. },
  21. // 移除我阅读过的书籍根据书籍标识
  22. removeReadBook: {
  23. url: '/all_book/removeReadBook',
  24. method: 'GET',
  25. auth: true,
  26. },
  27. // 添加作品或者修改作品
  28. saveOrUpdateBook: {
  29. url: '/all_book/saveOrUpdateBook',
  30. method: 'POST',
  31. auth: true,
  32. limit: 500,
  33. showLoading: true,
  34. },
  35. // 增加或修改作品章节
  36. saveOrUpdateCatalog: {
  37. url: '/all_book/saveOrUpdateCatalog',
  38. method: 'GET',
  39. auth: true,
  40. },
  41. }
  42. export default api