租户用户登录
接口描述: 登录后返回 token,后续请求需在 Header 中携带 Authorization: Bearer {token}
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| account | 字符串 | 必须 | 账号(手机号/用户名) | ||
| password | 字符串 | 必须 | 密码 |
| 参数名字 | 类型 | 说明 |
|---|---|---|
| token | 字符串 | 认证令牌 |
| tenant | 对象 | 租户信息 |
| user | 对象 | 用户信息 |
| 错误状态码 | 错误描述信息 |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| 参数 | 是否必须 | 值 |
|---|---|---|
| service | 必须 | |
| account | 必须 | |
| password | 必须 |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.Tenant.Login.json
接口,从简单开始!
© 2015-2026 Powered By PhalApi开源接口框架 2.23.0
专业版