文档
测试

电子读物列表

GET
http://{{url}}/api/benefit/books_list?type=0

请求头

参数名
类型
描述
必填
token
string
示例:9a662a4c-e70e-407f-a9b1-e3d92ecb7edc
必填

请求参数

参数名
类型
描述
必填
type
int
示例:0=全部,1=免费,2=已兑换,3=需兑换
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1646118231
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
name
string
示例:党史读物 尊重历史1 学习强国1
必填
image
string
示例:/uploads/20220222/2aef90c247f0a39f676ba981b36d8bfd.jpg
必填
score
int
示例:0
必填
link
string
示例:http://garbage.hndaoben.com
必填
upload
int
示例:0
必填
status
int
示例:1
必填
sort
int
示例:0
必填
createtime
int
示例:1646114000
必填
updatetime
int
示例:1646114096
必填
is_buy
boolean
示例:false 是否购买
必填
status_text
string
示例:Status 1
必填