更新数据库,增加apifox实体json
This commit is contained in:
36
schoolNewsServ/.doc/apifox/domain/page/PageParam.json
Normal file
36
schoolNewsServ/.doc/apifox/domain/page/PageParam.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "PageParam",
|
||||
"description": "分页参数",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pageNumber": {
|
||||
"type": "integer",
|
||||
"description": "当前页码",
|
||||
"minimum": 1,
|
||||
"default": 1,
|
||||
"example": 1
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"description": "每页显示数量",
|
||||
"minimum": 1,
|
||||
"maximum": 1000,
|
||||
"default": 10,
|
||||
"example": 10
|
||||
},
|
||||
"totalPages": {
|
||||
"type": "integer",
|
||||
"description": "总页数",
|
||||
"minimum": 0,
|
||||
"example": 5
|
||||
},
|
||||
"totalElements": {
|
||||
"type": "integer",
|
||||
"description": "总记录数",
|
||||
"minimum": 0,
|
||||
"example": 50
|
||||
}
|
||||
},
|
||||
"required": ["pageNumber", "pageSize", "totalPages", "totalElements"]
|
||||
}
|
||||
Reference in New Issue
Block a user