1 Star 2 Fork 0

mouyong / 插件世界

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
delete_user.md 626 Bytes
Copy Edit Raw Blame History
mouyong authored 2023-04-02 10:44 . 更新文档示例

删除用户

  • 请求方式: DELETE
  • 请求地址: /api/user/{userId}

Path 参数

参数名 类型 默认值 可空 说明
userId integer required users.id 用户 ID

返回结果

{
    "err_code": 0,
    "err_msg": "success",
    "data": {
        "user_id": "user.id",
    }
}

开发说明

  • 根据用户编号查找到用户信息
  • 将用户表的 删除时间 deleted_at 设置为当前时间
1
https://gitee.com/github-mouyong/plugins-world.git
git@gitee.com:github-mouyong/plugins-world.git
github-mouyong
plugins-world
插件世界
master

Search