谷粒学院项目实战37——测试多条件查询功能
访问http://localhost:8001/swagger-ui.html。
返回的Response Body如下:
{
"success": true,
"code": 20000,
"message": "成功",
"data": {
"total": 2,
"records": [
{
"id": "1",
"name": "wz",
"intro": "coolBoy",
"career": "developer",
"level": 2,
"avatar": null,
"sort": 0,
"isDeleted": 0,
"gmtCreate": "2021-12-01 09:56:30",
"gmtModified": "2021-10-06 09:56:44"
},
{
"id": "3",
"name": "ww",
"intro": "wonderfulman",
"career": "singer",
"level": 2,
"avatar": null,
"sort": 0,
"isDeleted": 0,
"gmtCreate": "2021-10-06 20:38:34",
"gmtModified": "2021-10-06 20:38:43"
}
]
}
}
查询结果与预期一致。
java全栈日日学 文章被收录于专栏
java全栈每日必学,不要高估自己一年能做的事,不要低估自己十年能做的事