文档
测试

维修工程师登录

POST
http://125.216.247.161:8080/LoginMaintainerServlet

接口描述

登录接口

请求头

参数名
类型
描述
必填
content-type
string
application/json
可选

请求参数

application/json
参数名
类型
描述
必填
phone
string
手机号,唯一登录
必填
password
string
密码,至少6位
必填

成功返回

application/json
参数名
类型
描述
必填
success
Bool
是否登录成功
必填
engineerData
dict
用户数据
必填
token
string
授权token,后续接口都必须在头部添加这个值
必填

失败返回

参数名
类型
描述
必填
success
Bool
是否登录成功
必填
error
string
错误消息(仅在登录失败时存在)
可选