获取商品详情
GET
goods/<goods id>
接口描述
根据商品ID,获取商品详情
响应参数
参数名
类型
描述
必填
id
int
商品ID
必填
name
string
商品名称
必填
category
int
商品类别
必填
description
string
商品详细描述。这里是富文本格式。
必填
thumbnail_img
array
商品缩略图
必填
carousel_imgs
array
商品轮播图片列表
必填
desc_imgs
array
商品描述图片列表,用于商品详情
必填
brief_intro
string
简介,普通文本格式, 需要前端做格式化。
必填
amount
int
库存
必填
price
float
售价
必填
orig_price
float
原件
必填
reward_credit
int
奖励积分
必填
sales_volume
int
销量
必填
credits_price
float
兑换积分
必填