文档
测试

商品详情

POST
https://sx.daoben.ltd/api/goods/detail

请求参数

参数名
类型
描述
必填
goods_id
int
示例:23
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1647829916
必填
data
object
数据字典
必填
detail
object
数据字典
必填
goods_id
int
示例:23
必填
goods_name
string
示例:MacBook Pro 13寸
必填
category_id
int
示例:3
必填
images
array
数据列表
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:20
必填
content
string
示例:<p><img src="https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/43b7a84d68a15d9058971526068a853a.jpg" data-filename="filename" style="width: 603px;"><br></p>
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:12
必填
goods_sort
int
示例:23
必填
goods_shove
string
示例:20
必填
goods_status
string
示例:10
必填
createtime
int
示例:1541403061
必填
updatetime
int
示例:1647513746
必填
category
object
数据字典
必填
id
int
示例:3
必填
pid
int
示例:0
必填
name
string
示例:五谷杂粮
必填
image
string
示例:https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/c83a0019dfa7a768037e98f02b70efd5.jpg
必填
weigh
int
示例:3
必填
createtime
int
示例:1540367311
必填
updatetime
int
示例:1541403647
必填
goods_sales
int
示例:12
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:20
必填
group_name
string
示例:颜色
必填
spec_items
array
数据列表
必填
item_id
int
示例:48
必填
spec_value
string
示例:天空灰
必填
spec_list
array
数据列表
必填
goods_spec_id
int
示例:109
必填
spec_sku_id
string
示例:48
必填
rows
array
数据列表
必填
form
object
数据字典
必填
goods_price
string
示例:12688.00
必填
goods_weight
float
示例:1.2
必填
spec_image
string
示例:
必填
imgshow
object
示例:null
必填