手机快速登录

基本信息

  • 接口状态:已完成
  • 接口URL:POST /api/login/index
  • Content-Type:application/json
  • 认证方式:无需认证

请求参数

{
	"account": "15757396315",
	"code": "1234"
}
参数名 参数值 是否必填 参数类型  描述说明
account 15757396xxx String 手机号
code 1234 String 验证码

响应示例

{
    "status": "success",
    "message": "登录成功",
    "userInfo": {
        "id": 1,
        "group_id": 6,
        "nickname": "MUKE",
        "sex": 1,
        "email": "513****96@qq.com",
        "mobile": "157****6315",
        "password": "",
        "cover": "/upload/user/20220527/cfa5e266e9b8e09da45f39e8d7f9ae27.png",
        "describe": "Believe that you can do better",
        "birthday": "2022-04-15",
        "now_integral": 60,
        "history_integral": 60,
        "balance": "0.00",
        "pay_paasword": "",
        "login_ip": "",
        "login_count": 94,
        "login_time": "2022-10-09 10:17:52",
        "update_time": "2022-04-15 11:10:05",
        "create_time": "2022-04-15 11:10:05",
        "status": 1,
        "reason": "6",
        "hide": 1,
        "group_title": "课代表",
        "url": "https://www.onekeyadmin.com/user/info.html?id=1",
        "token": "$2y$12$DQVmduEnnCOEmPHcoFhfVuv2Sdtmn7bmZB1AKdbWanj5mCbgCWImS",
    }
}
参数名 参数值 参数类型  描述说明
status
success String 状态
message
登录成功
String
描述
userInfo {} Object 用户信息

 

文档最后更新时间:2023-03-16 10:47:33