文档
测试

好礼兑换商品详情

GET
http://192.168.1.116:8080/api/exchange/info/43

接口描述

http://localhost:8080/api/exchange/info/{id}

请求参数

参数名
类型
描述
必填
id
id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
int
id
必填
category
string
商品分类
必填
parentId
int
父id
必填
waresInfo
string
商品详情
必填
fileThumbPath
string
商品图片
必填
huluNumber
int
所需葫芦个数
必填
inventoryNumber
int
库存数量
必填
exchangeNumber
object
兑换数量
必填
status
int
0上架,1下架
必填
bannerImgs
array
轮播图
必填
detailsImg
array
必填

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": { "id": 27, "category": "421", "parentId": 29, "waresInfo": "7", "fileThumbPath": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/183b903c-95d8-4d4f-9cfd-9448918195b7.jpeg", "huluNumber": 7, "inventoryNumber": 7, "exchangeNumber": null, "status": 0, "bannerImgs": [], "detailsImg": [], "domains": [ { "id": 25, "category": "422", "parentId": 27, "waresInfo": "5", "fileThumbPath": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/183b903c-95d8-4d4f-9cfd-9448918195b7.jpeg", "huluNumber": 5, "inventoryNumber": 5, "exchangeNumber": 6, "status": 0 }, ] } }