基于node express+mysql+vue-cli3和追书神器接口制作的移动端小说阅读网站,仅供参考学习!不用于任何商业用途! 闲暇时间用vue练练手,就想写个小说网站来看看,选择了追书神器的接口。 因为偷懒,所以使用了mint—ui的一些小插件,以后慢慢替换。
不用mysql的话,不要使用登录注册功能,登陆注册只有保存书架的作用
git clone https://github.com/mmnnbbvv005/JqRead.git
cd JqRead
npm install
不是必须,使用登录注册必要
cd server
node index
npm run serve
接口需要跨域
- 获取书籍详情
- 获取书籍相关推荐
- 获取书籍源
- 获取书籍章节
- 获取章节详细内容
- 获取排名分类
- 获取排名详情
- 获取搜索结果
- 获取搜索热词
- 获取搜索自动补全
- 获取带书籍数量的父分类
- 获取带子分类的分类
- 获取分类详情
https://api.zhuishushenqi.com/book/:id
https://api.zhuishushenqi.com/book/57206c3539a913ad65d35c7b
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
id | 是 | String | 书籍id |
https://api.zhuishushenqi.com/book/:id/recommend
https://api.zhuishushenqi.com/book/57206c3539a913ad65d35c7b/recommend
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
id | 是 | String | 书籍id |
优质VIP书源被加密,建议选择第二个
https://api.zhuishushenqi.com/atoc
https://api.zhuishushenqi.com/atoc?view=summary&book=57206c3539a913ad65d35c7b
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
view | 是 | String | summary(请求类型) |
book | 是 | String | 书籍id |
https://api.zhuishushenqi.com/atoc/:id
https://api.zhuishushenqi.com/toc/577b477dbd86a4bd3f8bf1b2?view=chapters
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
id | 是 | String | 书源id |
view | 是 | String | chapters(请求类型) |
https://chapter2.zhuishushenqi.com/chapter/:link
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
link | 是 | String | 章节link(从章节列表中获得,需要转码) |
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
k | 是 | String | 2124b73d7e2e1945(不知道是啥) |
t | 是 | String | 1468223717(不知道是啥) |
https://api.zhuishushenqi.com/ranking/gender
GET
https://api.zhuishushenqi.com/ranking/:id
https://api.zhuishushenqi.com/ranking/54d42d92321052167dfb75e3
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
id | 是 | String | 排名分类id |
https://api.zhuishushenqi.com/book/fuzzy-search
https://api.zhuishushenqi.com/book/fuzzy-search?query=一念&start=0&limit=10
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
query | 是 | String | 关键字 |
start | 否 | String | 开始位置 |
limit | 否 | String | 返回数目 |
https://api.zhuishushenqi.com/book/search-hotwords
GET
https://api.zhuishushenqi.com/book/auto-complete
https://api.zhuishushenqi.com/book/auto-complete?query=一念
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
query | 是 | String | 关键字 |
https://api.zhuishushenqi.com/cats/lv2/statistics
GET
https://api.zhuishushenqi.com/cats/lv2
GET
https://api.zhuishushenqi.com/book/by-categories
https://api.zhuishushenqi.com/book/by-categories?gender=male&type=hot&major=玄幻&东方玄幻&start=0&limit=10
GET
参数 | 是否必选 | 类型 | 说明 |
---|---|---|---|
gender | 否 | String | 性别(male,female,press) |
type | 否 | String | 类型:hot(热门),new(最新),reputation(好评),monthly(包月),over(完结) |
major | 是 | String | 主分类名称(玄幻) |
minor | 否 | String | 子分类名称 |
start | 否 | String | 开始位置 |
limit | 否 | String | 返回数目 |