文档
测试

前台菜单

GET
http://localhost:8080/selection/items/menu/{pageNum}/{pageSize}

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:列表查询
必填
data
object
数据字典
必填
pageNum
int
示例:1
必填
pageSize
int
示例:5
必填
total
int
示例:68
必填
result
array
数据列表
必填
id
int
示例:1
必填
productId
string
示例:010010202
必填
productName
string
示例:橘香茉吉托
必填
productImage
string
示例:citrus-mint-mojito.jpg
必填
price
string
示例:10.00
必填
category
string
示例:qSelection
必填
subType
string
示例:newProduct
必填
status
int
示例:1
必填
createTime
string
示例:2020-09-25 15:24:01
必填
updateTime
string
示例:2020-11-01 20:06:15
必填

说明 / 示例

http://localhost:8080/selection/items/menu/1/5 { "code": 0, "msg": "列表查询", "data": { "pageNum": 1, "pageSize": 5, "total": 68, "result": [ { "id": 1, "productId": "010010202", "productName": "橘香茉吉托", "productImage": "citrus-mint-mojito.jpg", "price": "10.00", "category": "qSelection", "subType": "newProduct", "status": 1, "createTime": "2020-09-25 15:24:01", "updateTime": "2020-11-01 20:06:15" }, { "id": 3, "productId": "010010204", "productName": "醋意桃桃", "productImage": "peach-shrub-fizz.jpg", "price": "10.00", "category": "qSelection", "subType": "newProduct", "status": 1, "createTime": "2020-09-25 15:24:01", "updateTime": "2020-11-01 20:06:15" }, { "id": 4, "productId": "010010205", "productName": "石榴仲夏梦", "productImage": "pomegranate-pearl-fizz.jpg", "price": "10.00", "category": "qSelection", "subType": "newProduct", "status": 1, "createTime": "2020-09-25 15:24:01", "updateTime": "2020-11-01 20:06:15" }, { "id": 5, "productId": "010010206", "productName": "气炫冰山美式", "productImage": "sparkling-espresso-tonic.jpg", "price": "10.00", "category": "qSelection", "subType": "newProduct", "status": 1, "createTime": "2020-09-25 15:24:01", "updateTime": "2020-11-01 20:06:15" }, { "id": 6, "productId": "010010207", "productName": "璃光石榴冷萃", "productImage": "sparkling-pink-pom-cold-brew.jpg", "price": "10.00", "category": "qSelection", "subType": "newProduct", "status": 1, "createTime": "2020-09-25 15:24:01", "updateTime": "2020-11-01 20:06:15" } ] } }