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

44 lines
905 B

// 书架相关接口
const api = {
// 批量移除我阅读过的数据根据书籍标识
batchRemoveReadBook: {
url: '/all_book/batchRemoveReadBook',
method: 'GET',
auth: true,
},
// 获取我的作品带分页
getMyBookPage: {
url: '/all_book/getMyBookPage',
method: 'GET',
auth: true,
},
// 获取我阅读过的书籍列表带分页
getReadBookPage: {
url: '/all_book/getReadBookPage',
method: 'GET',
auth: true,
},
// 移除我阅读过的书籍根据书籍标识
removeReadBook: {
url: '/all_book/removeReadBook',
method: 'GET',
auth: true,
},
// 添加作品或者修改作品
saveOrUpdateBook: {
url: '/all_book/saveOrUpdateBook',
method: 'POST',
auth: true,
limit: 500,
showLoading: true,
},
// 增加或修改作品章节
saveOrUpdateCatalog: {
url: '/all_book/saveOrUpdateCatalog',
method: 'GET',
auth: true,
},
}
export default api