文档
测试

用户登录

POST
http://localhost:8080/pets_shop/userlogin

接口描述

用户登录

请求参数

参数名
类型
描述
必填
phone
string
用户号码
必填
password
string
密码
必填

响应参数

参数名
类型
描述
必填
status
number
0代表操作成功,小于0代表失败
必填
msg
string
请求的结果信息,状态信息提示。分为登录成功和账号密码不正确
必填

说明 / 示例

示例请求参数: { "phone":"11123456789", "password":"123456" } 示例返回数据: { "status":"0", "msg":"登录成功" }