文档
测试

商品详情

POST
http://{{address}}/api/shop/product/details

请求参数

参数名
类型
描述
必填
product_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
record
object
数据字典
必填
id
int
示例:1
必填
created_at
string
示例:2021-12-12 04:26:26
必填
updated_at
string
示例:2021-12-12 05:30:22
必填
deleted_at
object
示例:null
必填
name
string
示例:国药同济堂同晓亮护眼套装2号
必填
slug
string
示例:
必填
type
string
示例:product
必填
zone
string
示例:1
必填
brand_id
object
示例:null
必填
category_id
int
示例:1
必填
code
string
示例:
必填
stock
object
示例:null
必填
is_with_variants
int
示例:0
必填
variants
array
数据列表
必填
id
string
示例:hqjzeZPUKfxr
必填
variant
object
示例:null
必填
optional
boolean
示例:false
必填
items
array
数据列表
必填
ref
string
示例:qJcIzGbfNXCg
必填
val
object
示例:null
必填
code
object
示例:null
必填
stock
object
示例:null
必填
price
object
示例:null
必填
price
string
示例:998.00
必填
price_old
string
示例:1200.00
必填
sales_count
int
示例:0
必填
status
int
示例:1
必填
is_new
int
示例:0
必填
is_hot
int
示例:1
必填
is_recommend
int
示例:0
必填
is_home_show
int
示例:0
必填
description_short
string
示例:日行一善助推活动之AI智能多功能护眼训练仪 限量50套
必填
description
string
示例:<p><img src="/storage/app/media/uploaded-files/2021112010460814222.jpg" style="width: 100%;" class="fr-fic fr-dib" data-result="success"></p>
必填
meta_title
string
示例:
必填
meta_keywords
string
示例:
必填
meta_description
string
示例:
必填
weight
object
示例:null
必填
length
object
示例:null
必填
width
object
示例:null
必填
height
object
示例:null
必填
shipping_fee
string
示例:0.00
必填
image_preview
object
数据字典
必填
id
int
示例:13
必填
disk_name
string
示例:61b588329b32b179671109.jpg
必填
file_name
string
示例:6169051c41a94.jpg
必填
file_size
int
示例:692212
必填
content_type
string
示例:image/jpeg
必填
title
object
示例:null
必填
description
object
示例:null
必填
field
string
示例:image_preview
必填
sort_order
int
示例:13
必填
created_at
string
示例:2021-12-12 05:27:14
必填
updated_at
string
示例:2021-12-12 05:30:22
必填
path
string
示例:http://jtkj1005:8888/storage/app/uploads/public/61b/588/329/61b588329b32b179671109.jpg
必填
extension
string
示例:jpg
必填
images
array
数据列表
必填
id
int
示例:14
必填
disk_name
string
示例:61b5888f51038744053992.jpg
必填
file_name
string
示例:6198bf748a416.jpg
必填
file_size
int
示例:2072373
必填
content_type
string
示例:image/jpeg
必填
title
object
示例:null
必填
description
object
示例:null
必填
field
string
示例:images
必填
sort_order
int
示例:14
必填
created_at
string
示例:2021-12-12 05:28:47
必填
updated_at
string
示例:2021-12-12 05:30:22
必填
path
string
示例:http://jtkj1005:8888/storage/app/uploads/public/61b/588/8f5/61b5888f51038744053992.jpg
必填
extension
string
示例:jpg
必填