[TOC]
接口地址:/addressBook
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
addressBook | addressBook | body | true | AddressBook | AddressBook |
cityCode | false | string | |||
cityName | false | string | |||
consignee | false | string | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
detail | false | string | |||
districtCode | false | string | |||
districtName | false | string | |||
id | false | integer(int64) | |||
isDefault | false | integer(int32) | |||
isDeleted | false | integer(int32) | |||
label | false | string | |||
phone | false | string | |||
provinceCode | false | string | |||
provinceName | false | string | |||
sex | false | string | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
userId | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«AddressBook» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | AddressBook | AddressBook | |
cityCode | string | ||
cityName | string | ||
consignee | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
detail | string | ||
districtCode | string | ||
districtName | string | ||
id | integer(int64) | ||
isDefault | integer(int32) | ||
isDeleted | integer(int32) | ||
label | string | ||
phone | string | ||
provinceCode | string | ||
provinceName | string | ||
sex | string | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
},
"map": {},
"msg": ""
}
接口地址:/addressBook
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
addressBook | addressBook | body | true | AddressBook | AddressBook |
cityCode | false | string | |||
cityName | false | string | |||
consignee | false | string | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
detail | false | string | |||
districtCode | false | string | |||
districtName | false | string | |||
id | false | integer(int64) | |||
isDefault | false | integer(int32) | |||
isDeleted | false | integer(int32) | |||
label | false | string | |||
phone | false | string | |||
provinceCode | false | string | |||
provinceName | false | string | |||
sex | false | string | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
userId | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/addressBook
请求方式:DELETE
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
ids | ids | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
204 | No Content | |
401 | Unauthorized | |
403 | Forbidden |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/addressBook/default
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
暂无
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«AddressBook» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | AddressBook | AddressBook | |
cityCode | string | ||
cityName | string | ||
consignee | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
detail | string | ||
districtCode | string | ||
districtName | string | ||
id | integer(int64) | ||
isDefault | integer(int32) | ||
isDeleted | integer(int32) | ||
label | string | ||
phone | string | ||
provinceCode | string | ||
provinceName | string | ||
sex | string | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
},
"map": {},
"msg": ""
}
接口地址:/addressBook/default
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
addressBook | addressBook | body | true | AddressBook | AddressBook |
cityCode | false | string | |||
cityName | false | string | |||
consignee | false | string | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
detail | false | string | |||
districtCode | false | string | |||
districtName | false | string | |||
id | false | integer(int64) | |||
isDefault | false | integer(int32) | |||
isDeleted | false | integer(int32) | |||
label | false | string | |||
phone | false | string | |||
provinceCode | false | string | |||
provinceName | false | string | |||
sex | false | string | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
userId | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«AddressBook» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | AddressBook | AddressBook | |
cityCode | string | ||
cityName | string | ||
consignee | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
detail | string | ||
districtCode | string | ||
districtName | string | ||
id | integer(int64) | ||
isDefault | integer(int32) | ||
isDeleted | integer(int32) | ||
label | string | ||
phone | string | ||
provinceCode | string | ||
provinceName | string | ||
sex | string | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
},
"map": {},
"msg": ""
}
接口地址:/addressBook/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
cityCode | query | false | string | ||
cityName | query | false | string | ||
consignee | query | false | string | ||
createTime | query | false | string(date-time) | ||
createUser | query | false | integer(int64) | ||
detail | query | false | string | ||
districtCode | query | false | string | ||
districtName | query | false | string | ||
id | query | false | integer(int64) | ||
isDefault | query | false | integer(int32) | ||
isDeleted | query | false | integer(int32) | ||
label | query | false | string | ||
phone | query | false | string | ||
provinceCode | query | false | string | ||
provinceName | query | false | string | ||
sex | query | false | string | ||
updateTime | query | false | string(date-time) | ||
updateUser | query | false | integer(int64) | ||
userId | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«List«AddressBook»» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | array | AddressBook | |
cityCode | string | ||
cityName | string | ||
consignee | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
detail | string | ||
districtCode | string | ||
districtName | string | ||
id | integer(int64) | ||
isDefault | integer(int32) | ||
isDeleted | integer(int32) | ||
label | string | ||
phone | string | ||
provinceCode | string | ||
provinceName | string | ||
sex | string | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": [
{
"cityCode": "",
"cityName": "",
"consignee": "",
"createTime": "",
"createUser": 0,
"detail": "",
"districtCode": "",
"districtName": "",
"id": 0,
"isDefault": 0,
"isDeleted": 0,
"label": "",
"phone": "",
"provinceCode": "",
"provinceName": "",
"sex": "",
"updateTime": "",
"updateUser": 0,
"userId": 0
}
],
"map": {},
"msg": ""
}
接口地址:/addressBook/{id}
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
id | id | path | true | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | object | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {},
"map": {},
"msg": ""
}
接口地址:/category
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"createTime": "",
"createUser": 0,
"id": 0,
"name": "",
"sort": 0,
"type": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
category | category | body | true | Category | Category |
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
id | false | integer(int64) | |||
name | false | string | |||
sort | false | integer(int32) | |||
type | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/category
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"createTime": "",
"createUser": 0,
"id": 0,
"name": "",
"sort": 0,
"type": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
category | category | body | true | Category | Category |
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
id | false | integer(int64) | |||
name | false | string | |||
sort | false | integer(int32) | |||
type | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/category
请求方式:DELETE
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
id | id | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
204 | No Content | |
401 | Unauthorized | |
403 | Forbidden |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/category/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
createTime | query | false | string(date-time) | ||
createUser | query | false | integer(int64) | ||
id | query | false | integer(int64) | ||
name | query | false | string | ||
sort | query | false | integer(int32) | ||
type | query | false | integer(int32) | ||
updateTime | query | false | string(date-time) | ||
updateUser | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«List«Category»» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | array | Category | |
createTime | string(date-time) | ||
createUser | integer(int64) | ||
id | integer(int64) | ||
name | string | ||
sort | integer(int32) | ||
type | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": [
{
"createTime": "",
"createUser": 0,
"id": 0,
"name": "",
"sort": 0,
"type": 0,
"updateTime": "",
"updateUser": 0
}
],
"map": {},
"msg": ""
}
接口地址:/category/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
page | page | query | false | integer(int32) | |
pageSize | pageSize | query | false | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/dish
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"categoryId": 0,
"categoryName": "",
"code": "",
"copies": 0,
"createTime": "",
"createUser": 0,
"description": "",
"flavors": [
{
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"updateTime": "",
"updateUser": 0,
"value": ""
}
],
"id": 0,
"image": "",
"isDeleted": 0,
"name": "",
"price": 0,
"sort": 0,
"status": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
dishDto | dishDto | body | true | DishDto | DishDto |
categoryId | false | integer(int64) | |||
categoryName | false | string | |||
code | false | string | |||
copies | false | integer(int32) | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
description | false | string | |||
flavors | false | array | DishFlavor | ||
createTime | false | string | |||
createUser | false | integer | |||
dishId | false | integer | |||
id | false | integer | |||
isDeleted | false | integer | |||
name | false | string | |||
updateTime | false | string | |||
updateUser | false | integer | |||
value | false | string | |||
id | false | integer(int64) | |||
image | false | string | |||
isDeleted | false | integer(int32) | |||
name | false | string | |||
price | false | number | |||
sort | false | integer(int32) | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/dish
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"categoryId": 0,
"categoryName": "",
"code": "",
"copies": 0,
"createTime": "",
"createUser": 0,
"description": "",
"flavors": [
{
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"updateTime": "",
"updateUser": 0,
"value": ""
}
],
"id": 0,
"image": "",
"isDeleted": 0,
"name": "",
"price": 0,
"sort": 0,
"status": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
dishDto | dishDto | body | true | DishDto | DishDto |
categoryId | false | integer(int64) | |||
categoryName | false | string | |||
code | false | string | |||
copies | false | integer(int32) | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
description | false | string | |||
flavors | false | array | DishFlavor | ||
createTime | false | string | |||
createUser | false | integer | |||
dishId | false | integer | |||
id | false | integer | |||
isDeleted | false | integer | |||
name | false | string | |||
updateTime | false | string | |||
updateUser | false | integer | |||
value | false | string | |||
id | false | integer(int64) | |||
image | false | string | |||
isDeleted | false | integer(int32) | |||
name | false | string | |||
price | false | number | |||
sort | false | integer(int32) | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/dish
请求方式:DELETE
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
ids | ids | query | true | array | integer |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
204 | No Content | |
401 | Unauthorized | |
403 | Forbidden |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/dish/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
categoryId | query | false | integer(int64) | ||
code | query | false | string | ||
createTime | query | false | string(date-time) | ||
createUser | query | false | integer(int64) | ||
description | query | false | string | ||
id | query | false | integer(int64) | ||
image | query | false | string | ||
isDeleted | query | false | integer(int32) | ||
name | query | false | string | ||
price | query | false | number | ||
sort | query | false | integer(int32) | ||
status | query | false | integer(int32) | ||
updateTime | query | false | string(date-time) | ||
updateUser | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«List«DishDto»» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | array | DishDto | |
categoryId | integer(int64) | ||
categoryName | string | ||
code | string | ||
copies | integer(int32) | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
description | string | ||
flavors | array | DishFlavor | |
createTime | string | ||
createUser | integer | ||
dishId | integer | ||
id | integer | ||
isDeleted | integer | ||
name | string | ||
updateTime | string | ||
updateUser | integer | ||
value | string | ||
id | integer(int64) | ||
image | string | ||
isDeleted | integer(int32) | ||
name | string | ||
price | number | ||
sort | integer(int32) | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": [
{
"categoryId": 0,
"categoryName": "",
"code": "",
"copies": 0,
"createTime": "",
"createUser": 0,
"description": "",
"flavors": [
{
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"updateTime": "",
"updateUser": 0,
"value": ""
}
],
"id": 0,
"image": "",
"isDeleted": 0,
"name": "",
"price": 0,
"sort": 0,
"status": 0,
"updateTime": "",
"updateUser": 0
}
],
"map": {},
"msg": ""
}
接口地址:/dish/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
name | name | query | false | string | |
page | page | query | false | integer(int32) | |
pageSize | pageSize | query | false | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/dish/status/{status}
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
ids | ids | query | true | array | integer |
status | status | path | true | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/dish/{id}
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
id | id | path | true | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«DishDto» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | DishDto | DishDto | |
categoryId | integer(int64) | ||
categoryName | string | ||
code | string | ||
copies | integer(int32) | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
description | string | ||
flavors | array | DishFlavor | |
createTime | string | ||
createUser | integer | ||
dishId | integer | ||
id | integer | ||
isDeleted | integer | ||
name | string | ||
updateTime | string | ||
updateUser | integer | ||
value | string | ||
id | integer(int64) | ||
image | string | ||
isDeleted | integer(int32) | ||
name | string | ||
price | number | ||
sort | integer(int32) | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"categoryId": 0,
"categoryName": "",
"code": "",
"copies": 0,
"createTime": "",
"createUser": 0,
"description": "",
"flavors": [
{
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"updateTime": "",
"updateUser": 0,
"value": ""
}
],
"id": 0,
"image": "",
"isDeleted": 0,
"name": "",
"price": 0,
"sort": 0,
"status": 0,
"updateTime": "",
"updateUser": 0
},
"map": {},
"msg": ""
}
接口地址:/employee
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"createTime": "",
"createUser": 0,
"id": 0,
"idNumber": "",
"name": "",
"password": "",
"phone": "",
"sex": "",
"status": 0,
"updateTime": "",
"updateUser": 0,
"username": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
employee | employee | body | true | Employee | Employee |
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
id | false | integer(int64) | |||
idNumber | false | string | |||
name | false | string | |||
password | false | string | |||
phone | false | string | |||
sex | false | string | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
username | false | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/employee
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"createTime": "",
"createUser": 0,
"id": 0,
"idNumber": "",
"name": "",
"password": "",
"phone": "",
"sex": "",
"status": 0,
"updateTime": "",
"updateUser": 0,
"username": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
employee | employee | body | true | Employee | Employee |
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
id | false | integer(int64) | |||
idNumber | false | string | |||
name | false | string | |||
password | false | string | |||
phone | false | string | |||
sex | false | string | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
username | false | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/employee/login
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"createTime": "",
"createUser": 0,
"id": 0,
"idNumber": "",
"name": "",
"password": "",
"phone": "",
"sex": "",
"status": 0,
"updateTime": "",
"updateUser": 0,
"username": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
employee | employee | body | true | Employee | Employee |
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
id | false | integer(int64) | |||
idNumber | false | string | |||
name | false | string | |||
password | false | string | |||
phone | false | string | |||
sex | false | string | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) | |||
username | false | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Employee» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Employee | Employee | |
createTime | string(date-time) | ||
createUser | integer(int64) | ||
id | integer(int64) | ||
idNumber | string | ||
name | string | ||
password | string | ||
phone | string | ||
sex | string | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
username | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"createTime": "",
"createUser": 0,
"id": 0,
"idNumber": "",
"name": "",
"password": "",
"phone": "",
"sex": "",
"status": 0,
"updateTime": "",
"updateUser": 0,
"username": ""
},
"map": {},
"msg": ""
}
接口地址:/employee/logout
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
暂无
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/employee/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
name | name | query | false | string | |
page | page | query | false | integer(int32) | |
pageSize | pageSize | query | false | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/employee/{id}
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
id | id | path | true | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Employee» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Employee | Employee | |
createTime | string(date-time) | ||
createUser | integer(int64) | ||
id | integer(int64) | ||
idNumber | string | ||
name | string | ||
password | string | ||
phone | string | ||
sex | string | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
username | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"createTime": "",
"createUser": 0,
"id": 0,
"idNumber": "",
"name": "",
"password": "",
"phone": "",
"sex": "",
"status": 0,
"updateTime": "",
"updateUser": 0,
"username": ""
},
"map": {},
"msg": ""
}
接口地址:/order
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
map | map | body | true | object |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/order/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
map | map | query | true | object |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/order/submit
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"address": "",
"addressBookId": 0,
"amount": 0,
"checkoutTime": "",
"consignee": "",
"id": 0,
"number": "",
"orderTime": "",
"payMethod": 0,
"phone": "",
"remark": "",
"status": 0,
"userId": 0,
"userName": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
orders | orders | body | true | Orders | Orders |
address | false | string | |||
addressBookId | false | integer(int64) | |||
amount | false | number | |||
checkoutTime | false | string(date-time) | |||
consignee | false | string | |||
id | false | integer(int64) | |||
number | false | string | |||
orderTime | false | string(date-time) | |||
payMethod | false | integer(int32) | |||
phone | false | string | |||
remark | false | string | |||
status | false | integer(int32) | |||
userId | false | integer(int64) | |||
userName | false | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/order/userPage
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
page | page | query | false | integer(int32) | |
pageSize | pageSize | query | false | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/setmeal
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"categoryId": 0,
"categoryName": "",
"code": "",
"createTime": "",
"createUser": 0,
"description": "",
"id": 0,
"image": "",
"name": "",
"price": 0,
"setmealDishes": [
{
"copies": 0,
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"price": 0,
"setmealId": 0,
"sort": 0,
"updateTime": "",
"updateUser": 0
}
],
"status": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
setmealDto | setmealDto | body | true | SetmealDto | SetmealDto |
categoryId | false | integer(int64) | |||
categoryName | false | string | |||
code | false | string | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
description | false | string | |||
id | false | integer(int64) | |||
image | false | string | |||
name | false | string | |||
price | false | number | |||
setmealDishes | false | array | SetmealDish | ||
copies | false | integer | |||
createTime | false | string | |||
createUser | false | integer | |||
dishId | false | integer | |||
id | false | integer | |||
isDeleted | false | integer | |||
name | false | string | |||
price | false | number | |||
setmealId | false | integer | |||
sort | false | integer | |||
updateTime | false | string | |||
updateUser | false | integer | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/setmeal
请求方式:PUT
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"categoryId": 0,
"categoryName": "",
"code": "",
"createTime": "",
"createUser": 0,
"description": "",
"id": 0,
"image": "",
"name": "",
"price": 0,
"setmealDishes": [
{
"copies": 0,
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"price": 0,
"setmealId": 0,
"sort": 0,
"updateTime": "",
"updateUser": 0
}
],
"status": 0,
"updateTime": "",
"updateUser": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
setmealDto | setmealDto | body | true | SetmealDto | SetmealDto |
categoryId | false | integer(int64) | |||
categoryName | false | string | |||
code | false | string | |||
createTime | false | string(date-time) | |||
createUser | false | integer(int64) | |||
description | false | string | |||
id | false | integer(int64) | |||
image | false | string | |||
name | false | string | |||
price | false | number | |||
setmealDishes | false | array | SetmealDish | ||
copies | false | integer | |||
createTime | false | string | |||
createUser | false | integer | |||
dishId | false | integer | |||
id | false | integer | |||
isDeleted | false | integer | |||
name | false | string | |||
price | false | number | |||
setmealId | false | integer | |||
sort | false | integer | |||
updateTime | false | string | |||
updateUser | false | integer | |||
status | false | integer(int32) | |||
updateTime | false | string(date-time) | |||
updateUser | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/setmeal
请求方式:DELETE
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
ids | ids | query | true | array | integer |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
204 | No Content | |
401 | Unauthorized | |
403 | Forbidden |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/setmeal/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
categoryId | query | false | integer(int64) | ||
code | query | false | string | ||
createTime | query | false | string(date-time) | ||
createUser | query | false | integer(int64) | ||
description | query | false | string | ||
id | query | false | integer(int64) | ||
image | query | false | string | ||
name | query | false | string | ||
price | query | false | number | ||
status | query | false | integer(int32) | ||
updateTime | query | false | string(date-time) | ||
updateUser | query | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«List«Setmeal»» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | array | Setmeal | |
categoryId | integer(int64) | ||
code | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
description | string | ||
id | integer(int64) | ||
image | string | ||
name | string | ||
price | number | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": [
{
"categoryId": 0,
"code": "",
"createTime": "",
"createUser": 0,
"description": "",
"id": 0,
"image": "",
"name": "",
"price": 0,
"status": 0,
"updateTime": "",
"updateUser": 0
}
],
"map": {},
"msg": ""
}
接口地址:/setmeal/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
name | name | query | false | string | |
page | page | query | false | integer(int32) | |
pageSize | pageSize | query | false | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«Page» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | Page | Page | |
countId | string | ||
current | integer(int64) | ||
hitCount | boolean | ||
maxLimit | integer(int64) | ||
optimizeCountSql | boolean | ||
orders | array | OrderItem | |
asc | boolean | ||
column | string | ||
pages | integer(int64) | ||
records | array | object | |
searchCount | boolean | ||
size | integer(int64) | ||
total | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"countId": "",
"current": 0,
"hitCount": true,
"maxLimit": 0,
"optimizeCountSql": true,
"orders": [
{
"asc": true,
"column": ""
}
],
"pages": 0,
"records": [],
"searchCount": true,
"size": 0,
"total": 0
},
"map": {},
"msg": ""
}
接口地址:/setmeal/status/{status}
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
ids | ids | query | true | array | integer |
status | status | path | true | integer(int32) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/setmeal/{id}
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
id | id | path | true | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«SetmealDto» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | SetmealDto | SetmealDto | |
categoryId | integer(int64) | ||
categoryName | string | ||
code | string | ||
createTime | string(date-time) | ||
createUser | integer(int64) | ||
description | string | ||
id | integer(int64) | ||
image | string | ||
name | string | ||
price | number | ||
setmealDishes | array | SetmealDish | |
copies | integer | ||
createTime | string | ||
createUser | integer | ||
dishId | integer | ||
id | integer | ||
isDeleted | integer | ||
name | string | ||
price | number | ||
setmealId | integer | ||
sort | integer | ||
updateTime | string | ||
updateUser | integer | ||
status | integer(int32) | ||
updateTime | string(date-time) | ||
updateUser | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"categoryId": 0,
"categoryName": "",
"code": "",
"createTime": "",
"createUser": 0,
"description": "",
"id": 0,
"image": "",
"name": "",
"price": 0,
"setmealDishes": [
{
"copies": 0,
"createTime": "",
"createUser": 0,
"dishId": 0,
"id": 0,
"isDeleted": 0,
"name": "",
"price": 0,
"setmealId": 0,
"sort": 0,
"updateTime": "",
"updateUser": 0
}
],
"status": 0,
"updateTime": "",
"updateUser": 0
},
"map": {},
"msg": ""
}
接口地址:/shoppingCart/add
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"amount": 0,
"createTime": "",
"dishFlavor": "",
"dishId": 0,
"id": 0,
"image": "",
"name": "",
"number": 0,
"setmealId": 0,
"userId": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
shoppingCart | shoppingCart | body | true | ShoppingCart | ShoppingCart |
amount | false | number | |||
createTime | false | string(date-time) | |||
dishFlavor | false | string | |||
dishId | false | integer(int64) | |||
id | false | integer(int64) | |||
image | false | string | |||
name | false | string | |||
number | false | integer(int32) | |||
setmealId | false | integer(int64) | |||
userId | false | integer(int64) | |||
creationTime | query | false | integer(int64) | ||
id | query | false | string | ||
lastAccessedTime | query | false | integer(int64) | ||
maxInactiveInterval | query | false | integer(int32) | ||
new | query | false | boolean | ||
valueNames | query | false | array | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«ShoppingCart» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | ShoppingCart | ShoppingCart | |
amount | number | ||
createTime | string(date-time) | ||
dishFlavor | string | ||
dishId | integer(int64) | ||
id | integer(int64) | ||
image | string | ||
name | string | ||
number | integer(int32) | ||
setmealId | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"amount": 0,
"createTime": "",
"dishFlavor": "",
"dishId": 0,
"id": 0,
"image": "",
"name": "",
"number": 0,
"setmealId": 0,
"userId": 0
},
"map": {},
"msg": ""
}
接口地址:/shoppingCart/clean
请求方式:DELETE
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
暂无
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
204 | No Content | |
401 | Unauthorized | |
403 | Forbidden |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/shoppingCart/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
暂无
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«List«ShoppingCart»» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | array | ShoppingCart | |
amount | number | ||
createTime | string(date-time) | ||
dishFlavor | string | ||
dishId | integer(int64) | ||
id | integer(int64) | ||
image | string | ||
name | string | ||
number | integer(int32) | ||
setmealId | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": [
{
"amount": 0,
"createTime": "",
"dishFlavor": "",
"dishId": 0,
"id": 0,
"image": "",
"name": "",
"number": 0,
"setmealId": 0,
"userId": 0
}
],
"map": {},
"msg": ""
}
接口地址:/shoppingCart/sub
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"amount": 0,
"createTime": "",
"dishFlavor": "",
"dishId": 0,
"id": 0,
"image": "",
"name": "",
"number": 0,
"setmealId": 0,
"userId": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
shoppingCart | shoppingCart | body | true | ShoppingCart | ShoppingCart |
amount | false | number | |||
createTime | false | string(date-time) | |||
dishFlavor | false | string | |||
dishId | false | integer(int64) | |||
id | false | integer(int64) | |||
image | false | string | |||
name | false | string | |||
number | false | integer(int32) | |||
setmealId | false | integer(int64) | |||
userId | false | integer(int64) |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«ShoppingCart» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | ShoppingCart | ShoppingCart | |
amount | number | ||
createTime | string(date-time) | ||
dishFlavor | string | ||
dishId | integer(int64) | ||
id | integer(int64) | ||
image | string | ||
name | string | ||
number | integer(int32) | ||
setmealId | integer(int64) | ||
userId | integer(int64) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"amount": 0,
"createTime": "",
"dishFlavor": "",
"dishId": 0,
"id": 0,
"image": "",
"name": "",
"number": 0,
"setmealId": 0,
"userId": 0
},
"map": {},
"msg": ""
}
接口地址:/user/login
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
map | map | body | true | object | |
creationTime | query | false | integer(int64) | ||
id | query | false | string | ||
lastAccessedTime | query | false | integer(int64) | ||
maxInactiveInterval | query | false | integer(int32) | ||
new | query | false | boolean | ||
valueNames | query | false | array | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«User» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | User | User | |
avatar | string | ||
id | integer(int64) | ||
idNumber | string | ||
name | string | ||
phone | string | ||
sex | string | ||
status | integer(int32) | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": {
"avatar": "",
"id": 0,
"idNumber": "",
"name": "",
"phone": "",
"sex": "",
"status": 0
},
"map": {},
"msg": ""
}
接口地址:/user/loginout
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
creationTime | query | false | integer(int64) | ||
id | query | false | string | ||
lastAccessedTime | query | false | integer(int64) | ||
maxInactiveInterval | query | false | integer(int32) | ||
new | query | false | boolean | ||
valueNames | query | false | array | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}
接口地址:/user/sendMsg
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"avatar": "",
"id": 0,
"idNumber": "",
"name": "",
"phone": "",
"sex": "",
"status": 0
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
user | user | body | true | User | User |
avatar | false | string | |||
id | false | integer(int64) | |||
idNumber | false | string | |||
name | false | string | |||
phone | false | string | |||
sex | false | string | |||
status | false | integer(int32) | |||
creationTime | query | false | integer(int64) | ||
id | query | false | string | ||
lastAccessedTime | query | false | integer(int64) | ||
maxInactiveInterval | query | false | integer(int32) | ||
new | query | false | boolean | ||
valueNames | query | false | array | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | R«string» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | string | ||
map | object | ||
msg | string |
响应示例:
{
"code": 0,
"data": "",
"map": {},
"msg": ""
}