文档
测试

好礼兑换列表

GET
http://192.168.1.116:8080/api/exchange/list/{deviceNumebr}

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
data
object
数据字典
必填
total
int
示例:2
必填
rows
array
数据列表
必填
searchValue
object
示例:null
必填
createBy
object
示例:null
必填
createTime
string
示例:2021-06-28 10:09:52 创建时间
必填
updateBy
object
示例:null
必填
updateTime
string
示例:2021-07-25 16:36:48 修改时间
必填
remark
object
示例:null
必填
params
object
数据字典
必填
id
int
示例:71
必填
category
string
商品分类id
必填
parentId
object
父id
必填
waresInfo
string
商品标题
必填
fileThumbPath
string
商品图片
必填
huluNumber
int
所需葫芦个数
必填
inventoryNumber
int
库存数量
必填
exchangeNumber
int
兑换数量
必填
status
int
0上架,1下架
必填
shoppingName
string
商品名称
必填
inventorySum
object
示例:null
必填
exchangSum
object
示例:null
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填
category
array
数据列表
必填
categoryId
string
示例:420 字典项
必填
category
string
示例:精选图书 商品种类
必填
deviceNumber
int
用户葫芦总数
必填

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": { "data": { "total": 2, "rows": [ { "searchValue": null, "createBy": null, "createTime": "2021-06-28 10:09:52", "updateBy": null, "updateTime": "2021-07-25 16:36:48", "remark": null, "params": { }, "id": 71, "category": "420", "parentId": null, "waresInfo": "31", "fileThumbPath": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/78c8e4ed-70a6-4bd6-92f0-09a360271d5f.jpeg", "huluNumber": 31, "inventoryNumber": 31, "exchangeNumber": 0, "status": 1, "shoppingName": "java是yyds2343", "inventorySum": null, "exchangSum": null }, { "searchValue": null, "createBy": null, "createTime": "2021-07-01 16:51:43", "updateBy": null, "updateTime": "2021-07-01 17:47:07", "remark": null, "params": { }, "id": 138, "category": "420", "parentId": null, "waresInfo": "1", "fileThumbPath": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/daaaf168-db54-43c0-a936-2ec58f168bb7.png", "huluNumber": 1, "inventoryNumber": 0, "exchangeNumber": 0, "status": 1, "shoppingName": null, "inventorySum": null, "exchangSum": null } ], "code": 200, "msg": "查询成功" }, "category": [ { "categoryId": "420", "category": "精选图书" }, { "categoryId": "421", "category": "智益玩具" }, { "categoryId": "422", "category": "学习用品" }, { "categoryId": "428", "category": "学习工具" }, { "categoryId": "431", "category": "1234" } ] } }