文档
测试

拼团商品信息和规格回显

POST
http://10.3.184.44:10000/group.product/spuinfo/EchoSpuAndStu/1

请求头

参数名
类型
描述
必填
id
int
团长id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
object
数据字典
必填
spuInfo
object
数据字典
必填
id
int
示例:1
必填
spuName
string
示例:苹果12
必填
spuDescription
string
示例:简单苹果12
必填
catalogId
int
示例:233
必填
brandName
string
示例:苹果
必填
publishStatus
int
示例:3
必填
createTime
string
示例:2021-06-15 20:21:06
必填
updateTime
string
示例:2021-06-17 20:21:10
必填
imageUrl
string
示例:https://guli-product-brand.oss-cn-shanghai.aliyuncs.com/2021-05-25//a530c78a-bf1b-4450-896b-3c28a9cb2229_a83bf5250e14caf2.jpg
必填
list
array
数据列表
必填
skuId
int
示例:1
必填
spuId
int
示例:1
必填
skuName
string
示例:苹果12 红色
必填
skuDesc
string
示例:6+128G
必填
catalogId
object
示例:null
必填
brandName
object
示例:null
必填
skuDefaultImg
object
示例:null
必填
skuTitle
object
示例:null
必填
skuSubtitle
object
示例:null
必填
price
object
示例:null
必填
costPrice
object
示例:null
必填
inquiry
object
示例:null
必填
weight
object
示例:null
必填
bulk
object
示例:null
必填
spuInfo
商品参数
必填
list
商品规格
必填

说明 / 示例

```{ "msg": "success", "code": 0, "data": { "spuInfo": { "id": 1, "spuName": "苹果12", "spuDescription": "简单苹果12", "catalogId": 233, "brandName": "苹果", "publishStatus": 3, "createTime": "2021-06-15 20:21:06", "updateTime": "2021-06-17 20:21:10", "imageUrl": "https://guli-product-brand.oss-cn-shanghai.aliyuncs.com/2021-05-25//a530c78a-bf1b-4450-896b-3c28a9cb2229_a83bf5250e14caf2.jpg" }, "list": [ { "skuId": 1, "spuId": 1, "skuName": "苹果12 红色", "skuDesc": "6+128G", "catalogId": null, "brandName": null, "skuDefaultImg": null, "skuTitle": null, "skuSubtitle": null, "price": null, "costPrice": null, "inquiry": null, "weight": null, "bulk": null }, { "skuId": 2, "spuId": 1, "skuName": "苹果12 黄色", "skuDesc": "8+256G", "catalogId": 225, "brandName": null, "skuDefaultImg": null, "skuTitle": null, "skuSubtitle": null, "price": null, "costPrice": null, "inquiry": null, "weight": null, "bulk": null } ] } } ```