商品详情
POST
https://shop.daoben.net/api/goods/detail
请求参数
参数名
类型
描述
必填
goods_id
int
示例:22
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1635833754
必填
goods_id
int
示例:22------商品ID
必填
school_id
int
示例:1------学习ID
必填
goods_name
string
示例:Mate 20 华为 HUAWEI ------产品名称
必填
category_id
int
示例:5
必填
image
string
示例:------产品缩略图
必填
images
string
示例:------产品轮播图,逗号分隔的
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:20
必填
content
string
示例:------产品图文详情
必填
sales_initial
int
示例:10------初始销量
必填
sales_actual
int
示例:64------真实销量
必填
goods_sort
int
示例:22------产品权重
必填
shove
string
示例:10------是否首页推荐
必填
delivery_id
int
示例:0------
必填
goods_status
string
示例:10------是否上架,10=上架,20=下架
必填
is_delete
string
示例:0------是否删除
必填
createtime
int
示例:1541402364
必填
updatetime
int
示例:1635757113
必填
imgs_url
array
数据列表------轮播图
必填
id
int
示例:5
必填
pid
int
示例:0
必填
name
string
示例:男裤子
必填
image
string
示例:https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/4fffea1c27bfb8df655a39114bb05814.jpg
必填
weigh
int
示例:5
必填
createtime
int
示例:1540367298
必填
updatetime
int
示例:1635411190
必填
goods_spec_id
int
示例:131------规格ID
必填
goods_id
int
示例:22
必填
goods_no
string
示例:SNHW001------规格编号
必填
goods_price
string
示例:4499.00------商品价格
必填
line_price
string
示例:0.00------划线价格
必填
stock_num
int
示例:941------库存
必填
goods_sales
int
示例:0------规格销量
必填
goods_weight
int
示例:500------权重
必填
spec_sku_id
string
示例:44_46------sku_id
必填
spec_image
string
示例:------规格图片
必填
create_time
int
示例:1635757113
必填
update_time
int
示例:1635757113
必填
id
int
示例:44
必填
spec_value
string
示例:亮黑色------规格值
必填
spec_id
int
示例:20
必填
createtime
int
示例:1541402233
必填
id
int
示例:124
必填
goods_id
int
示例:22
必填
spec_id
int
示例:20
必填
spec_value_id
int
示例:44
必填
create_time
int
示例:1635757113
必填
goods_spec_id
int
示例:131------规格ID
必填
spec_sku_id
string
示例:44_46------skuId
必填
rows
array
数据列表
必填