简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-03-24

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明

请求参数:

参数名 是否必须 类型 说明
account string 账号
password string 密码

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "登錄成功",
    "data": {
        "employee_id": 1,
        "uid": 2,
        "name": "店長",
        "account": "Boss",
        "email": "123@qq.com",
        "status": 1,
        "created_at": "2026-01-21 19:51:30",
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiO"
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

返回参数说明:

参数名 类型 说明
employee_id string 员工id
uid string 所所属账号uid
name string 名称
account string 账号
email string 邮箱
status string 状态
created_at string 时间
token string 凭证

备注:

作者:admin  创建时间:2026-03-24 13:52
最后编辑:admin  更新时间:2026-03-24 15:27
上一篇:
下一篇: