详情
GET
/api/goods/detail
请求参数
参数名
类型
描述
必填
id
int
商品id
必填
is_com_state
int
是否显示评论信息 1显示 0不显示
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
id
int
示例:2
必填
level
string
示例:5.0
必填
name
string
示例:宜家便利店
必填
logo
string
示例:http://192.168.5.160/uploads/merchant_logo/20200604/17368373d1cf30399e550ba9d07f22b5.jpg
必填
img
string
示例:http://192.168.5.160/uploads/merchant_background/20200605/a070bfa1273d362c61f5526d7f792e11.jpg
必填
intro
string
示例:宜家便利店
必填
sold_num
int
示例:999
必填
customer_tel
string
示例:18702783616
必填
tip_content
string
示例:提示信息123
必填
is_self_take
int
示例:1
必填
deliver_money
string
示例:5.00
必填
logistics_money
string
示例:3.00
必填
distance_m
int
示例:0
必填
ld_second
int
示例:0
必填
ld_second_intro
string
示例:很快
必填
is_logistics
int
示例:1
必填
logistics_intro
string
示例:平台配送
必填
address
string
示例:广东省南山区向南村1坊16号
必填
lng_lat
string
示例:113.959723,22.55236
必填
logistics_info
string
示例:平台配送 提供高质量送餐服务
必填
work_day_info
string
示例:全天
必填
notice
string
示例:我是通知
必填
ser_content
string
示例:开发票,免配送
必填
id
int
示例:2
必填
name
string
示例:百事
必填
cover_img
string
示例:http://192.168.5.160/uploads/goods/20200604/1f7669838caf9d2b4eeff50495868935.jpg
必填
sold_price
string
示例:17.00
必填
og_price
string
示例:99.00
必填
is_hot
int
示例:0
必填
stock
int
示例:99
必填
tag
array
数据列表
必填
sold_num
int
示例:99
必填
com_per
string
示例:100%
必填
award_times
object
示例:null
必填
current_sku_id
int
示例:313
必填
sku_id
string
示例:313
必填
goods_id
string
示例:0
必填
name
string
示例:碳酸C,热饮,5分糖
必填
sku_group
array
数据列表
必填
price
string
示例:17.00
必填
stock
int
示例:99
必填
normal_goods_info
array
数据列表
必填
buy_num
int
示例:0
必填
views
int
示例:0
必填
img
array
数据列表
必填
is_coll
int
示例:1
必填
id
string
示例:53
必填
goods_id
string
示例:9
必填
sku_id
string
示例:0
必填
mch_id
string
示例:2
必填
num
int
示例:3
必填
cover_img
string
示例:http://192.168.5.160/uploads/goods/20200602/f9e91048cec04d4f38b242036aeb8c18.jpg
必填
goods_name
string
示例:200ml百事可乐
必填
sold_price
string
示例:2.00
必填
og_price
string
示例:2.00
必填
sku_group_name
string
示例:
必填
sku_group
string
示例:
必填
buy_count
int
示例:4
必填