商品明细
GET
/api/goods/detail/{商品编号}
接口描述
商品明细
请求头
参数名
类型
描述
必填
Accept-Language
string
zh-CN,zh; 当前选择的语言
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
id
int
商品编号:66
必填
category_id
int
分类编号:15
必填
category_depth
string
分类路径深度:0-10-14-15
必填
brand_id
int
品牌编号:11
必填
cover_img_url
string
封面地址:https://img.mofyi.com/202007/0616343069083.png
必填
detail_image
array
详情图片
必填
images
array
轮播图片
必填
high_price
string
最大价格(划线价):125.00
必填
price
string
单价:12.00
必填
is_taxes
object
是否保税(0:不包税,1:包税)
必填
sale_count
int
销售数量:0
必填
comment_count
int
评论数量:0
必填
ship_place
string
发货地:1
必填
fare_id
int
运费模板:41
必填
goods_id
int
示例:66
必填
title
string
示例:ceshi-0706
必填
origin_place
string
示例:美国
必填
description
object
示例:null
必填
remark
object
示例:null
必填
id
int
示例:8
必填
type
int
示例:2
必填
start_time
int
示例:1594180800
必填
end_time
int
示例:1594872000
必填
id
int
示例:55
必填
amount
int
示例:100
必填
goods_type
int
示例:1
必填
type
int
示例:1
必填
threshold
int
示例:1
必填
threshold_price
int
示例:10
必填
content
string
示例:1
必填
coupon_start_time
int
示例:1594267200
必填
coupon_end_time
int
示例:1595649600
必填
receive_number
int
示例:1
必填
total_stock
int
总库存
可选
id
int
示例:69
必填
cover_img_url
string
示例:https://img.mofyi.com/202007/0813262129560.png
必填
high_price
string
示例:150.00
必填
price
string
示例:105.00
必填