查询所有菜品
GET
http://121.41.178.159:8181/food/getAll
接口描述
根据分页参数查询相关菜品
请求参数
参数名
类型
描述
必填
pageNum
int
示例:2
必填
pageSize
int
示例:2
必填
响应参数
参数名
类型
描述
必填
status
int
示例:200
必填
total
int
示例:11
必填
id
int
示例:9
必填
category_id
int
示例:2
必填
shop_id
int
示例:4
必填
name
string
示例:米饭
必填
description
string
示例:好吃
必填
price
float
示例:24.3
必填
units
string
示例:份
必填
status
int
示例:2
必填
url
string
示例:9.jpg
必填
pageNum
int
示例:2
必填
pageSize
int
示例:2
必填
size
int
示例:2
必填
startRow
int
示例:3
必填
endRow
int
示例:4
必填
pages
int
示例:6
必填
prePage
int
示例:1
必填
nextPage
int
示例:3
必填
isFirstPage
boolean
示例:false
必填
isLastPage
boolean
示例:false
必填
hasPreviousPage
boolean
示例:true
必填
hasNextPage
boolean
示例:true
必填
navigatePages
int
示例:8
必填
navigatepageNums
array
数据列表
必填
navigateFirstPage
int
示例:1
必填
navigateLastPage
int
示例:6
必填