文档
测试

商品详情

GET
{{host}}/api/gdj.Goods/getGoodsDetail?goods_id=10

请求头

参数名
类型
描述
必填

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
show
int
示例:0
必填
msg
string
示例:获取商品详情成功
必填
data
object
数据字典
必填
id
int
示例:10
必填
name
string
示例:拍卖商品2
必填
image
string
示例:http://gudangjia.yilidakeji.com/uploads/images/20211207112804fdcbe8316.png
必填
video
string
示例:
必填
remark
string
示例:
必填
content
string
示例:
必填
market_price
string
示例:100.00
必填
min_price
string
示例:100.00
必填
max_price
string
示例:100.00
必填
is_show_stock
int
示例:0
必填
stock
int
示例:100
必填
sales_actual
int
示例:0
必填
sales_virtual
int
示例:0
必填
clicks
int
示例:239
必填
shop_id
int
示例:3
必填
lease_price
string
示例:0.00
必填
update_time
int
示例:1638947649
必填
goods_image
array
数据列表
必填
goods_id
int
示例:10
必填
uri
string
示例:http://gudangjia.yilidakeji.com/uploads/images/2021111014480127fbc7123.png
必填
goods_item
array
数据列表
必填
id
int
示例:43
必填
goods_id
int
示例:10
必填
image
string
示例:http://gudangjia.yilidakeji.com/uploads/images/2021111014480127fbc7123.png
必填
spec_value_ids
string
示例:33
必填
spec_value_str
string
示例:默认
必填
market_price
string
示例:100.00
必填
price
string
示例:100.00
必填
stock
int
示例:100
必填
is_member
int
示例:1
必填
member_price
int
示例:0
必填
shop
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:李先生的店铺
必填
logo
string
示例:http://gudangjia.yilidakeji.com/uploads/images/202106231658177efb99459.jpg
必填
goods_on_sale
int
示例:6
必填
goods_list
array
数据列表
必填
id
int
示例:4
必填
name
string
示例:康熙通宝
必填
image
string
示例:http://gudangjia.yilidakeji.com/uploads/images/20211207112804fdcbe8316.png
必填
market_price
string
示例:1000.00
必填
min_price
string
示例:100.00
必填
sales_sum
int
示例:0
必填
activity
object
数据字典
必填
type
int
示例:0
必填
type_desc
string
示例:普通商品
必填
is_collect
int
示例:0
必填
goods_spec
array
数据列表
必填
id
int
示例:16
必填
goods_id
int
示例:10
必填
name
string
示例:默认
必填
spec_value
array
数据列表
必填
id
int
示例:33
必填
goods_id
int
示例:10
必填
spec_id
int
示例:16
必填
value
string
示例:默认
必填
comment
object
数据字典
必填
percent
string
示例:100%
必填
one
array
数据列表
必填
distribution
object
数据字典
必填
is_show
int
示例:0
必填
earnings
int
示例:0
必填