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

90 lines
1.8 KiB

// 首页相关接口
const api = {
// 批量订阅章节
batchSubscribeBookCatalog: {
url: '/all_index/batchSubscribeBookCatalog',
method: 'GET',
auth: true,
},
// 获取首页banner
getBanner: {
url: '/all_index/getBanner',
method: 'GET',
},
// 获取书城区域列表
getBookAreaList: {
url: '/all_index/getBookAreaList',
method: 'GET',
},
// 根据目录查询章节小说信息明细
getBookCatalogDetail: {
url: '/all_index/getBookCatalogDetail',
method: 'GET',
},
// 根据书本标识获取书本目录列表
getBookCatalogList: {
url: '/all_index/getBookCatalogList',
method: 'GET',
},
// 根据书本标识获取书本详细信息
getBookDetail: {
url: '/all_index/getBookDetail',
method: 'GET',
},
// 获取书城分类列表
getCategoryList: {
url: '/all_index/getCategoryList',
method: 'GET',
},
// 获取亲密度排行版
getIntimacyRankList: {
url: '/all_index/getIntimacyRankList',
method: 'GET',
},
// 获取首页最新小说列表带分页
getNewList: {
url: '/all_index/getNewList',
method: 'GET',
},
// 获取首页公告
getNotice: {
url: '/all_index/getNotice',
method: 'GET',
},
// 获取公告详情
getNoticeById: {
url: '/all_index/getNoticeById',
method: 'GET',
},
// 获取公告列表带分页
getNoticePage: {
url: '/all_index/getNoticePage',
method: 'GET',
},
// 获取首页精品推荐小说列表带分页
getRecommendList: {
url: '/all_index/getRecommendList',
method: 'GET',
},
// 观看视频之后开启章节
openBookCatalog: {
url: '/all_index/openBookCatalog',
method: 'GET',
auth: true,
},
// 订阅章节
subscribeBook: {
url: '/all_index/subscribeBook',
method: 'GET',
auth: true,
},
// 根据书本标识进行投票
vote: {
url: '/all_index/vote',
method: 'GET',
auth: true,
},
}
export default api