文档
测试

商品详情

POST
https://sdyp.xinghaoruiye.com/api.html

请求参数

参数名
类型
描述
必填
method
string
示例:goods.getdetial
必填
id
int
示例:154
必填

响应参数

参数名
类型
描述
必填
status
boolean
示例:true
必填
data
object
数据字典
必填
id
int
示例:154
必填
bn
string
示例:G6286651077805
必填
name
string
示例:啊啊
必填
brief
string
示例:
必填
price
string
示例:123.00
必填
mktprice
string
示例:0.00
必填
image_id
string
示例:0ac288560f2ea31e78b3b290ff1fc9ee
必填
goods_cat_id
int
示例:22
必填
goods_type_id
int
示例:3
必填
brand_id
int
示例:0
必填
is_nomal_virtual
int
示例:1
必填
marketable
int
示例:2
必填
stock
int
示例:1
必填
weight
string
示例:0.00
必填
unit
string
示例:
必填
intro
string
示例:
必填
spes_desc
string
示例:
必填
params
string
示例:a:1:{i:0;b:0;}
必填
comments_count
int
示例:0
必填
view_count
int
示例:0
必填
buy_count
int
示例:0
必填
uptime
object
示例:null
必填
downtime
object
示例:null
必填
sort
int
示例:100
必填
is_recommend
int
示例:2
必填
is_hot
int
示例:2
必填
label_ids
array
数据列表
必填
new_spec
string
示例:
必填
ctime
object
示例:null
必填
utime
int
示例:1628666217
必填
isdel
object
示例:null
必填
user_id
int
示例:10
必填
cat_name
string
示例:人物画
必填
image_url
string
示例:https://sdyp.xinghaoruiye.com/static/uploads/images/2021/08/11/16286651026113750e6dbac.jpg
必填
product
object
数据字典
必填
id
int
示例:162
必填
goods_id
int
示例:154
必填
barcode
object
示例:null
必填
sn
string
示例:P6286651634784
必填
price
string
示例:123.00
必填
mktprice
string
示例:0.00
必填
marketable
int
示例:2
必填
stock
int
示例:1
必填
spes_desc
object
示例:null
必填
is_defalut
int
示例:1
必填
image_id
string
示例:0ac288560f2ea31e78b3b290ff1fc9ee
必填
isdel
object
示例:null
必填
name
string
示例:啊啊
必填
bn
string
示例:G6286651077805
必填
image_path
string
示例:https://sdyp.xinghaoruiye.com/static/uploads/images/2021/08/11/16286651026113750e6dbac.jpg
必填
total_stock
int
示例:1
必填
grade_price
array
数据列表
必填
grade_info
array
数据列表
必填
amount
string
示例:123.00
必填
promotion_list
array
数据列表
必填
promotion_amount
int
示例:0
必填
album
array
数据列表
必填
isfav
string
示例:false
必填
user
object
数据字典
必填
nickname
string
示例:15098****22
必填
avatar
string
示例:https://sdyp.xinghaoruiye.com/static/uploads/images/2021/07/22/162694091360f925f1bad3d.jpg
必填
profile
string
示例:个人简介
必填
zuopin
string
示例:获奖情况
必填
msg
string
示例:
必填