---
title: "登录接口 (手动加上: Bearer + token(密码加密接口))"
method: POST
path: "/base/login"
tags: ["基础管理"]
---

# 登录接口 (手动加上: Bearer + token(密码加密接口))

`POST /base/login`

用户登录

## Request body

- RequestRegisterAndLoginReq
  - `password` string, required
  - `username` string, required

## Response `200`

OK

- ResponseResponseBody
  - `code` integer
  - `data` unknown
  - `msg` string

---

[API](https://skmtc.dev/opsre/apis/go-ldap-admin.md) · [All operations](https://skmtc.dev/opsre/apis/go-ldap-admin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opsre/go-ldap-admin/revisions/b7dd139f5de2/schema)
