fourm.zhengxinonly.com
  1. 注册登录
fourm.zhengxinonly.com
  • 注册登录
    • 注册用户
      GET
    • 获取图片验证码
      GET
    • 获取短信验证码
      POST
    • 注册用户
      POST
    • 登录
      GET
    • 登陆用户
      POST
    • 退出用户
      POST
  • 论坛首页
    • 首页展示
      GET
    • 文章详情页
      GET
    • 收藏文章(接口)
      POST
    • 评论文章(接口)
      POST
    • 评论点赞(接口)
      POST
    • 关注用户(接口)
      POST
  • 个人中心
    • 用户信息修改
      GET
    • 用户信息修改
      POST
    • 户头像上传
      GET
    • 户头像上传
      POST
    • 用户密码修改
      POST
    • 我的关注列表
      GET
    • 我的文章收藏
      GET
    • 我的文章列表
      GET
    • 文章发布
      GET
    • 文章发布
      POST
    • 用户展示页
      GET
  • 后台管理
    • 后台首页
      GET
    • 管理员登陆
      GET
    • 管理员登陆
      POST
    • 管理员退出
      POST
    • 用户列表
      GET
    • 用户列表(接口)
      GET
    • 请求用户信息(接口)
      GET
    • 用户列表(接口)
      POST
    • 修改用户(接口)
      PUT
    • 删除用户(接口)
      DELETE
    • 文章管理
      GET
    • 文章管理(接口)
      GET
    • 获取文章(接口)
      GET
    • 文章修改(接口)
      POST
    • 文章编辑
      GET
    • 文章审核管理
      GET
    • 文章审核
      GET
    • 文章分类管理
      GET
    • 文章分类管理(接口)
      GET
    • 文章分类管理-新增(接口)
      POST
    • 文章分类管理-删除(接口)
      DELETE
    • 文章分类管理-编辑(接口)
      POST
    • 用户统计
      GET
  1. 注册登录

登陆用户

开发中
POST
/login

请求参数

Body 参数application/json
captcha_code
string 
必需
captcha_code_uuid
string 
必需
username
string 
必需
password
string 
必需
示例
{
  "captcha_code": "string",
  "captcha_code_uuid": "string",
  "username": "string",
  "password": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "captcha_code": "string",
    "captcha_code_uuid": "string",
    "username": "string",
    "password": "string"
}'

返回响应

🟢200成功
application/json
Body
status
string 
必需
message
string 
必需
示例
{
  "status": "success",
  "message": "登录用户成功"
}
上一页
登录
下一页
退出用户
Built with