文档
测试

商品详情

GET
https://mall.bxync.com/index.php?s=/api/goods/detail&goods_id=3&token=1

请求参数

参数名
类型
描述
必填
s
string
示例:/api/goods/detail
必填
goods_id
int
示例:3
必填
token
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
detail
object
数据字典
必填
goods_id
int
示例:3
必填
goods_name
string
示例:泰国金枕
必填
selling_point
string
示例:泰国金枕11
必填
category_id
int
示例:8
必填
spec_type
int
示例:20
必填
deduct_stock_type
int
示例:20
必填
content
string
示例:<p>222</p>
必填
goods_sort
int
示例:100
必填
delivery_id
int
示例:10002
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
数据字典
必填
1
string
示例:0
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:20
必填
first_money
string
示例:200.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
sale_type
int
示例:10
必填
discount_time
object
数据字典
必填
text
string
示例:2020-04-25
必填
value
int
示例:1587744000
必填
advance_time
object
数据字典
必填
text
string
示例:1970-01-01
必填
value
int
示例:0
必填
goods_image
string
示例:https://mall.bxync.com/uploads/20200523093255bffb76557.jpg
必填
use_num
int
示例:125
必填
is_user_grade
boolean
示例:true
必填
goods_multi_spec
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:10
必填
group_name
string
示例:大小
必填
spec_items
array
数据列表
必填
item_id
int
示例:20
必填
spec_value
string
示例:500g
必填
spec_list
array
数据列表
必填
goods_sku_id
int
示例:109
必填
spec_sku_id
string
示例:20_21
必填
rows
array
数据列表
必填
form
object
数据字典
必填
image_id
int
示例:0
必填
image_path
string
示例:
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.96
必填
goods_weight
int
示例:500
必填
line_price
string
示例:5.00
必填
purchase_price
string
示例:1.00
必填
discount_price
string
示例:1.50
必填
stock_num
int
示例:2
必填
image
array
数据列表
必填
id
int
示例:59
必填
goods_id
int
示例:3
必填
image_id
int
示例:11
必填
file_path
string
示例:https://mall.bxync.com/uploads/20200523093255bffb76557.jpg
必填
file_name
string
示例:20200523093255bffb76557.jpg
必填
file_url
string
示例:
必填
spec_rel
array
数据列表
必填
spec_value_id
int
示例:20
必填
spec_value
string
示例:500g
必填
spec_id
int
示例:10
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-04-14 11:34:42
必填
spec
object
数据字典
必填
spec_id
int
示例:10
必填
spec_name
string
示例:大小
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-04-14 11:34:42
必填
pivot
object
数据字典
必填
id
int
示例:103
必填
goods_id
int
示例:3
必填
spec_id
int
示例:10
必填
spec_value_id
int
示例:20
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-05-23 09:33:00
必填
sku
array
数据列表
必填
goods_sku_id
int
示例:109
必填
goods_id
int
示例:3
必填
spec_sku_id
string
示例:20_21
必填
image_id
int
示例:1
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.96
必填
line_price
string
示例:5.00
必填
purchase_price
string
示例:1.00
必填
discount_price
string
示例:1.50
必填
stock_num
int
示例:2
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:500
必填
goods_sales
int
示例:0
必填
browse
array
数据列表
必填
nickName
string
示例:强仔
必填
avatarUrl
string
示例:https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIFg52ZYpfFBiap1py7P5xfa5yWcK67rBdfmzflFPpdFJwGYTUyjI2lIuuNSIQAEaXo8rg0nOxqhibA/132
必填
cart_total_num
int
示例:0
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:10
必填
group_name
string
示例:大小
必填
spec_items
array
数据列表
必填
item_id
int
示例:20
必填
spec_value
string
示例:500g
必填
spec_list
array
数据列表
必填
goods_sku_id
int
示例:109
必填
spec_sku_id
string
示例:20_21
必填
rows
array
数据列表
必填
form
object
数据字典
必填
image_id
int
示例:0
必填
image_path
string
示例:
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.96
必填
goods_weight
int
示例:500
必填
line_price
string
示例:5.00
必填
purchase_price
string
示例:1.00
必填
discount_price
string
示例:1.50
必填
stock_num
int
示例:2
必填