---
title: "提交登录"
method: POST
path: "/login/do"
tags: ["前台-登录"]
---

# 提交登录

`POST /login/do`

前面5次不需要验证码，同一个IP登录失败5次之后将会启用验证码校验。
注意提交的密码是明文。
登录成功后前端引导页面跳转。

## Response `200`

执行结果

- ResponseJsonRes
  - `code` integer — 错误码((0:成功, 1:失败, >1:错误码))
  - `data` object — 返回数据(业务接口定义具体数据结构)
  - `message` string — 提示信息
  - `redirect` string — 引导客户端跳转到指定路由

---

[API](https://skmtc.dev/gogf/apis/goframe-api.md) · [All operations](https://skmtc.dev/gogf/apis/goframe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gogf/goframe-api/revisions/d05fe905b682/schema)
