文档
测试

商品详情

POST
https://ys.daoben.ltd/api/goodsuse/detail

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1655810664
必填
data
object
数据字典
必填
detail
object
数据字典
必填
goods_id
int
示例:38
必填
goods_name
string
示例:电动文具套装
必填
category_id
int
示例:11
必填
image
string
示例:/assets/img/qrcode.png
必填
images
array
数据列表
必填
spec_type
int
示例:2
必填
deduct_stock_type
int
示例:1
必填
content
string
示例:<p>啊</p>
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:0
必填
goods_sort
int
示例:38
必填
delivery_id
int
示例:0
必填
goods_status
string
示例:1
必填
deletetime
object
示例:null
必填
createtime
int
示例:1655808482
必填
updatetime
int
示例:1655809760
必填
category
object
数据字典
必填
id
int
示例:11
必填
pid
int
示例:0
必填
name
string
示例:特产干货
必填
mold
int
示例:2
必填
image
string
示例:/assets/img/qrcode.png
必填
weigh
int
示例:11
必填
status
string
示例:normal
必填
createtime
int
示例:1655278016
必填
updatetime
int
示例:1655278016
必填
goodsSales
int
示例:0
必填
minSpecPrice
object
数据字典
必填
goods_price
string
示例:2.00
必填
line_price
string
示例:3.00
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:28
必填
group_name
string
示例:啊2
必填
spec_items
array
数据列表
必填
item_id
int
示例:59
必填
spec_value
string
示例:哈哈哈哈哈
必填
spec_list
array
数据列表
必填
goods_id
int
示例:38
必填
goods_spec_id
int
示例:122
必填
spec_sku_id
string
示例:59
必填
rows
array
数据列表
必填
form
object
数据字典
必填
goods_attr
object
示例:null
必填
goods_no
string
示例:1
必填
goods_price
string
示例:2.00
必填
goods_weight
int
示例:5
必填
line_price
string
示例:3.00
必填
stock_num
int
示例:10
必填
spec_image
string
示例:
必填