宠物医院项目关键接口登录接口请求方式: POST
路径: http://localhost:8080/login
请求头:Content-Type: application/x-www-form-urlencoded
请求参数:
username: admin
password: 123456
响应案例:
{
"result": "success",
"message": "欢迎登陆"
}
获取宠物列表请求方式: POST
路径: http://localhost:8080/user/pet/getAllByLimit
请求头:Content-Type: application/x-www-form-urlencoded
请求参数:
name:
page:1
limit:10
响应案例:
{ “total”: 1, “rows”: [{ “page”: null, “pageSize ...