购物车校验 - 租借图书
POST
/api/Car/borrow
接口描述
校验时增加了分册数据,如果没有分册则传递"spec_id":0,"spec_title":"",有则分别传递分册id和分册title
请求头
参数名
类型
描述
必填
token
必填
请求参数
参数名
类型
描述
必填
id
int
示例:21
必填
title
string
示例:讲卫生从小做起
必填
image
string
示例:https://book2020.oss-cn-hangzhou.aliyuncs.com/image/borrow_book/20200914/be7bc9af04e1a3aa4b1243fa42ef02a4.jpg
必填
age_label
string
示例:3-4岁
必填
nature_label
string
示例:情感认知
必填
price
string
示例:12.00
必填
spec_id
int
分册ID:0,没有分册传递0
必填
spec_title
string
分册标题:没有分册传递空字符串""
必填
count
int
示例:1
必填
selected
string
示例:true
必填
响应参数
参数名
类型
描述
必填
status
int
示例:200
必填
message
string
示例:借阅图书 - 购物车商品校验
必填
status
boolean
示例:true
必填
message
string
示例:商品列表信息正常
必填
status
int
示例:1
必填
message
object
示例:null
必填
id
string
示例:21
必填
title
string
示例:讲卫生从小做起
必填
image
string
示例:https://book2020.oss-cn-hangzhou.aliyuncs.com/image/borrow_book/20200914/be7bc9af04e1a3aa4b1243fa42ef02a4.jpg
必填
age_label
string
示例:3-4岁
必填
nature_label
string
示例:情感认知
必填
price
string
示例:12.00
必填
count
string
示例:1
必填
stock
int
没有分册则为商品库存,有分册则为分册库存:9
必填
count_price
int
示例:12
必填
selected
string
示例:true
必填
spec_id
string
示例:0
必填
spec_title
string
示例:
必填
total_count
int
示例:3
必填
total_price
int
示例:37
必填