多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 用户登录 **收费方式**:`免费` **接口地址**:`/api/v1/user/login` **请求方式**:`POST` **请求数据类型**:`application/json` **响应数据类型**:`*/*` **接口描述**:<p>用户登录,登录后获得 `qd-key`参数作为接口请求唯一标识放在`header`头中</p> **请求示例**: ```javascript { "email": "", "password": "" } ``` **请求参数**: **请求参数**: | 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | | -------- | -------- | ----- | -------- | -------- | ------ | |apiUserLoginPO|apiUserLoginPO|body|true|ApiUserLoginPO|ApiUserLoginPO| |&emsp;&emsp;email|||true|string|| |&emsp;&emsp;password|||true|string|| **响应状态**: | 状态码 | 说明 | schema | | -------- | -------- | ----- | |200|OK|Result«ApiUserVO»| |201|Created|| |401|Unauthorized|| |403|Forbidden|| |404|Not Found|| **响应参数**: | 参数名称 | 参数说明 | 类型 | schema | | -------- | -------- | ----- |----- | |data||ApiUserVO|ApiUserVO| |&emsp;&emsp;create_at||string(date-time)|| |&emsp;&emsp;email|用户登录邮箱|string|| |&emsp;&emsp;head_img|头像地址|string|| |&emsp;&emsp;id|用户ID|string|| |&emsp;&emsp;nickname|昵称|string|| |&emsp;&emsp;qd-key|当前使用的秘钥|string|| |&emsp;&emsp;status|用户状态 10正常 20禁用|string(byte)|| |&emsp;&emsp;total_call_num|api调用次数|integer(int32)|| |&emsp;&emsp;updated_at||string(date-time)|| |&emsp;&emsp;used_call_num|已使用次数|integer(int32)|| |error_code|响应码 (非0即异常)|integer(int32)|integer(int32)| |message|响应消息|string|| |meta||ApiUserVO|ApiUserVO| |&emsp;&emsp;create_at||string(date-time)|| |&emsp;&emsp;email|用户登录邮箱|string|| |&emsp;&emsp;head_img|头像地址|string|| |&emsp;&emsp;id|用户ID|string|| |&emsp;&emsp;nickname|昵称|string|| |&emsp;&emsp;qd-key|当前使用的秘钥|string|| |&emsp;&emsp;status|用户状态 10正常 20禁用|string(byte)|| |&emsp;&emsp;total_call_num|api调用次数|integer(int32)|| |&emsp;&emsp;updated_at||string(date-time)|| |&emsp;&emsp;used_call_num|已使用次数|integer(int32)|| **响应示例**: ```javascript { "data": { "create_at": "", "email": "", "head_img": "", "id": "", "nickname": "", "qd-key": "", "status": "", "total_call_num": 0, "updated_at": "", "used_call_num": 0 }, "error_code": 0, "message": "success", "meta": { "create_at": "", "email": "", "head_img": "", "id": "", "nickname": "", "qd-key": "", "status": "", "total_call_num": 0, "updated_at": "", "used_call_num": 0 } } ```