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

51 lines
992 B

// 书架相关接口
const api = {
// 获取我的作品带分页
getMyBookPage: {
url: '/my_book/getMyShopPage',
method: 'GET',
auth: true,
},
// 添加作品或者修改作品
saveOrUpdateBook: {
url: '/my_book/saveOrUpdateShop',
method: 'POST',
auth: true,
limit: 800,
showLoading: true,
},
// 增加或修改作品章节
saveOrUpdateCatalog: {
url: '/my_book/saveOrUpdateShopNovel',
method: 'POST',
auth: true,
limit: 800,
},
// 获取我的小说章节列表带分页
getMyShopNovelPage : {
url: '/my_book/getMyShopNovelPage',
method: 'POST',
auth: true,
},
// 删除作品章节
deleteMyNovel : {
url: '/my_book/deleteMyNovel',
method: 'POST',
auth: true,
},
// 多选删除我的作品
deleteMyShopList : {
url: '/my_book/deleteMyShopList',
method: 'POST',
auth: true,
},
// 查询我是否购买了这个章节
getMyShopNovel: {
url: '/my_book/getMyShopNovel',
method: 'GET',
auth: true,
},
}
export default api