获取书籍详情
GET
/common/tencent/read/book/info
微信读书
接口级别:通用
撰写者:钟意
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Trusteeship 之后拼接 Token示例:
Authorization: Trusteeship ********************
Query 参数
bookId
string
书籍ID
示例值:
3300028078
返回响应
🟢200成功
application/json
Body
code
integer
响应类型
result
boolean
响应真值
msg
string
系统提示
data
object
响应数据
bookId
string
编号
title
string
书名
author
string
作者
cover
string
封面
intro
string
简介
detail
object (书籍详情)
详情
示例
{
"code": 200,
"result": true,
"msg": "图书信息获取成功 !",
"data": {
"bookId": "3300028078",
"title": "Vue.js设计与实现",
"author": "霍春阳 著",
"cover": "https://cdn.weread.qq.com/weread/cover/96/cpPlatform_kmqPY1boCDVyMxq2AvPdCY/s_cpPlatform_kmqPY1boCDVyMxq2AvPdCY.jpg",
"intro": "本书基于Vue.js 3,从规范出发,以源码为基础,并结合大量直观的配图,循序渐进地讲解Vue.js中各个功能模块的实现,细致剖析框架设计原理。全书共18章,分为六篇,主要内容包括:框架设计概览、响应系统、渲染器、组件化、编译器和服务端渲染等。通过阅读本书,对Vue.js 2/3具有上手经验的开发人员能够进一步理解Vue.js框架的实现细节,没有Vue.js使用经验但对框架设计感兴趣的前端开发人员,能够快速掌握Vue.js的设计原理。",
"detail": {
"cpid": 5256588,
"free": 0,
"isbn": "9787115583864",
"paid": 0,
"type": 0,
"cover": "https://cdn.weread.qq.com/weread/cover/96/cpPlatform_kmqPY1boCDVyMxq2AvPdCY/s_cpPlatform_kmqPY1boCDVyMxq2AvPdCY.jpg",
"intro": "本书基于Vue.js 3,从规范出发,以源码为基础,并结合大量直观的配图,循序渐进地讲解Vue.js中各个功能模块的实现,细致剖析框架设计原理。全书共18章,分为六篇,主要内容包括:框架设计概览、响应系统、渲染器、组件化、编译器和服务端渲染等。通过阅读本书,对Vue.js 2/3具有上手经验的开发人员能够进一步理解Vue.js框架的实现细节,没有Vue.js使用经验但对框架设计感兴趣的前端开发人员,能够快速掌握Vue.js的设计原理。",
"ispub": 1,
"price": 119.8,
"title": "Vue.js设计与实现",
"wxtts": 1,
"author": "霍春阳 著",
"bookId": "3300028078",
"follow": 0,
"format": "epub",
"onTime": 1662457804,
"secret": 0,
"blacked": 0,
"offline": 0,
"payType": 1048577,
"skuInfo": {
"path": "/pages/product/product?pid=29366756&unionid=P-123456m",
"miniProgramId": "gh_78fd80800407"
},
"soldout": 0,
"version": 1223597229,
"bookSize": 1093142,
"category": "计算机-软件学习",
"finished": 1,
"language": "zh",
"ranklist": {
"seq": 257,
"scheme": "weread://ranklist?categoryId=newrating_potential_publish&subtype=0&initialBookId=3300028078&seq=257&newList=1",
"categoryId": "newrating_potential_publish",
"categoryName": "神作潜力榜·出版",
"storeSubType": 0,
"ranklistCover": {
"desc": "100-500 人点评,推荐值 ≥90%的书籍",
"tinycode": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.tinycode.nf0lwrlPfM.png",
"chart_tag": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.chart_tag.5ommVShPr7.png",
"chart_title": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.chart_title.zlDPkETx3S.png",
"eink_chart_title": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.eink_chart_title.KHw03y0Pyt.png",
"chart_title_width": 471,
"chart_detail_title": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.chart_detail_title.69pIMcLUJ8.png",
"chart_title_height": 96,
"chart_detail_title_main": "https://weread-1258476243.file.myqcloud.com/assets/ranklist.newrating_potential_publish.chart_detail_title_main.eSQxZSxN9R.png"
}
},
"AISummary": "这是一本深入剖析Vue.js框架设计原理的专业书籍。本书基于Vue.js 3,从规范出发,以源码为基础,并结合大量直观的配图,循序渐进地讲解Vue.js中各个功能模块的实现,细致剖析框架设计原理。全书共18章,分为六篇,主要内容包括:框架设计概览、响应系统、渲染器、组件化、编译器和服务端渲染等。通过阅读本书,对Vue.js 2/3具有上手经验的开发人员能够进一步理解Vue.js框架的实现细节,没有Vue.js使用经验但对框架设计感兴趣的前端开发人员,能够快速掌握Vue.js的设计原理。\n\n在框架设计概览部分,作者详细讲解了运行时与编译时框架比较,框架设计中的权衡艺术等内容。通过对比运行时和编译时框架,让读者理解框架设计的复杂性。而在权衡艺术部分,作者则从全局把控、范式选择、性能与可维护性等多个方面,深入阐述了框架设计中的权衡问题。\n\n在响应系统部分,作者深入讲解了响应系统的基本实现,分支切换与 cleanup 机制等内容。这些内容对于理解Vue.js的响应式原理至关重要。而在渲染器部分,作者详细讲解了渲染器的基本概念,虚拟 DOM 的挂载与更新过程等内容,这些内容对于理解Vue.js的渲染机制至关重要。\n\n在组件化部分,作者详细讲解了组件实例与生命周期,异步组件实现原理与问题等内容。这些内容对于理解Vue.js的组件化机制至关重要。而在编译器部分,作者详细讲解了编译器核心技术概览与实现,双端 Diff 算法的工作原理等内容,这些内容对于理解Vue.js的编译器原理至关重要。\n\n在服务端渲染部分,作者详细讲解了服务端渲染与客户端渲染,编写同构代码的注意事项等内容。这些内容对于理解Vue.js的服务端渲染机制至关重要。",
"authorSeg": [
{
"words": "霍春阳",
"authorId": "717310",
"highlight": 1
},
{
"words": " 著",
"highlight": 0
}
],
"centPrice": 11980,
"isAutoPay": 0,
"newRating": 962,
"paperBook": {
"skuId": ""
},
"publisher": "人民邮电出版社",
"unitPrice": 0,
"availables": 0,
"bookStatus": 1,
"categories": [
{
"title": "计算机-软件学习",
"categoryId": 700000,
"categoryType": 0,
"subCategoryId": 700001
}
],
"extra_type": 7,
"hasLecture": 0,
"hideReview": 0,
"marketType": 0,
"totalWords": 431618,
"updateTime": 1712032407,
"chapterSize": 30,
"deepVRating": 981,
"hasKeyPoint": true,
"maxFreeInfo": {
"maxFreeChapterIdx": 10,
"maxFreeChapterUid": 10,
"maxFreeChapterRatio": 19
},
"publishTime": "2022-01-01 00:00:00",
"ratingCount": 340,
"recommended": 0,
"blockSaveImg": 1,
"coverBoxInfo": {
"colors": [
{
"hex": "#6e9e82",
"key": "6/4"
},
{
"hex": "#3d6952",
"key": "4/4"
},
{
"hex": "#26503b",
"key": "3/4"
},
{
"hex": "#005336",
"key": "3/6"
},
{
"hex": "#005632",
"key": "3/8"
},
{
"hex": "#133727",
"key": "2/4"
},
{
"hex": "#003a23",
"key": "2/6"
},
{
"hex": "#003d1f",
"key": "2/8"
},
{
"hex": "#002313",
"key": "1/4"
},
{
"hex": "#00260f",
"key": "1/6"
},
{
"hex": "#00290c",
"key": "1/8"
},
{
"hex": "#59a27a",
"key": "6/6"
},
{
"hex": "#1e6d4b",
"key": "4/6"
},
{
"hex": "#cdead6",
"key": "9/2"
},
{
"hex": "#007440",
"key": "4/10"
},
{
"hex": "#008e56",
"key": "5/10"
},
{
"hex": "#57836a",
"key": "5/4"
},
{
"hex": "#a1d4b4",
"key": "8/4"
},
{
"hex": "#118b5c",
"key": "5/8"
},
{
"hex": "#3ba673",
"key": "6/8"
},
{
"hex": "#8ad9aa",
"key": "8/6"
},
{
"hex": "#5ac18b",
"key": "7/8"
},
{
"hex": "#005a2a",
"key": "3/12"
},
{
"hex": "#34ffa8",
"key": "9/12"
},
{
"hex": "#3ba673",
"key": "1/100"
},
{
"hex": "#5ac18b",
"key": "2/100"
},
{
"hex": "#ffffff",
"key": "3/100"
},
{
"hex": "#E5F3EF",
"key": "4/100"
},
{
"hex": "#E5F3EF",
"key": "5/100"
},
{
"hex": "#002714",
"key": "6/100"
}
],
"blurhash": "KyMkwkE0WU=hIoay0dNGjv",
"custom_cover": "https://weread-1258476243.file.myqcloud.com/bookalphacover/78/3300028078/s_3300028078.jpg",
"dominate_color": {
"hex": "#3bb57c",
"hsv": [
152.13864195990317,
67.54344405594405,
70.9181068931069
]
},
"custom_rec_cover": "https://weread-1258476243.file.myqcloud.com/bookreccover/78/3300028078/s_3300028078.jpg"
},
"isEPUBComics": 0,
"payingStatus": 2,
"ratingDetail": {
"one": 1,
"two": 0,
"five": 327,
"four": 0,
"three": 12,
"recent": 4
},
"copyrightInfo": {
"id": 5256588,
"name": "人民邮电出版社",
"role": 2,
"avatar": "https://res.weread.qq.com/wravatar/WV0022-WtKx5gB3PLVALg5t~WNwid2/0",
"cpType": 0,
"userVid": 545908360
},
"finishReading": 0,
"isChapterPaid": 0,
"mcardDiscount": 0,
"originalPrice": 0,
"shortTimeRead": {
"active": 0
},
"shouldHideTTS": 0,
"translatorSeg": [],
"hideFriendMark": 0,
"hideUpdateTime": false,
"lastChapterIdx": 30,
"lectureOffline": 0,
"maxFreeChapter": 10,
"newRatingCount": 318,
"webBookControl": 0,
"newRatingDetail": {
"fair": 7,
"good": 310,
"poor": 1,
"deepV": 53,
"title": "神作潜力",
"recent": 4,
"myRating": ""
},
"showLectureButton": 1,
"lectureRecommended": 0,
"copyrightChapterUids": [
2
],
"selfProduceIncentive": false
}
}
}
🟠400参数不正确
🟢201参数无意义
修改于 2024-08-21 17:37:52