文档
测试
POST
https://aijoint.changmugu.com/api.php/login/login

接口描述

该接口用于登录,登陆后获取token令牌

请求头

参数名
类型
描述
必填
Content-Type
application/x-www-form-urlencoded
必填

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
返回码
必填
msg
string
提示消息
必填
data
json
返回值
必填

说明 / 示例

![image.png](https://cos.easydoc.net/55326986/files/k35nf9a5.png) 登录成功返回token令牌和过期时间