文档
测试

商品详情

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

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1646642919
必填
data
object
数据字典
必填
detail
object
数据字典
必填
goods_id
int
示例:1
必填
school_id
int
示例:4
必填
goods_name
string
示例:少女心独角兽粉红电动文具书包
必填
sub_title
string
示例:少女心独角兽粉红电动文具书包
必填
category_id
int
示例:3
必填
image
string
示例:https://zx.daoben.ltd/uploads/20211206/7406be167a72138dcf4b70eae52f2110.jpg
必填
images
string
示例:/uploads/20211206/7406be167a72138dcf4b70eae52f2110.jpg
必填
spec_type
string
示例:10
必填
deduct_stock_type
string
示例:10
必填
content
string
示例:<p>1啊啊</p>
必填
view
int
示例:43
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:20
必填
goods_sort
int
示例:1
必填
is_shove
string
示例:10
必填
is_new
string
示例:20
必填
delivery_id
int
示例:1
必填
goods_status
string
示例:10
必填
is_delete
string
示例:0
必填
createtime
int
示例:1646292451
必填
updatetime
int
示例:1646642919
必填
imgs_url
array
数据列表
必填
category
object
数据字典
必填
id
int
示例:3
必填
pid
int
示例:0
必填
name
string
示例:书包
必填
image
string
示例:/uploads/20211110/da7f2888a326c23ef7951159a36e6b9f.jpg
必填
weigh
int
示例:3
必填
createtime
int
示例:1541402921
必填
updatetime
int
示例:1636510419
必填
freight
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:测试分组
必填
method
string
示例:10
必填
weigh
int
示例:1
必填
createtime
int
示例:1646385431
必填
updatetime
int
示例:1646385431
必填
method_text
string
示例:Method 10
必填
school
object
数据字典
必填
id
int
示例:4
必填
name
string
示例:周口英诺国际学校
必填
logo
string
示例:/uploads/20211206/a06b943596988b65075648034de08f7d.jpg
必填
age
int
示例:2
必填
qrcode
string
示例:/uploads/school_qrcode/4.png
必填
idcode
object
示例:null
必填
region_id
string
示例:1532,1685,1686
必填
region
string
示例:河南省/周口市/川汇区
必填
address
string
示例:
必填
switch
int
示例:0
必填
is_default
string
示例:0
必填
updatetime
int
示例:1646358745
必填
createtime
int
示例:1638799372
必填
goods_sales
int
示例:20
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
spec_list
array
数据列表
必填
goods_spec_id
int
示例:72
必填
spec_sku_id
string
示例:
必填
rows
array
数据列表
必填
form
object
数据字典
必填
goods_no
string
示例:1233123
必填
goods_price
string
示例:88.00
必填
goods_weight
int
示例:1
必填
line_price
string
示例:99999.00
必填
stock_num
int
示例:0
必填
spec_image
string
示例:
必填
imgshow
object
示例:null
必填