1. 系统开放接口
Tduck 开放平台接口
  • 表单开放接口
    • 获取表单全部字段
      GET
    • 获取表单全局数据
      GET
  • 系统开放接口
    • 保存部门(冲突降级为修改)
      POST
    • 修改部门
      POST
    • 删除部门
      POST
    • 保存用户(冲突降级为修改)
      POST
    • 修改用户
      POST
    • 删除用户
      POST
  1. 系统开放接口

修改部门

POST
http://localhost:8888/tduck-api//open/system/dept/update
修改部门
修改部门

请求参数

Body 参数application/json

示例
{
    "id": "string",
    "parentId": "string",
    "deptName": "string",
    "orderNum": 0,
    "leader": "string",
    "phone": "string",
    "email": "string",
    "status": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:8888/tduck-api//open/system/dept/update' \
--header 'Content-Type: application/json' \
--data '{
    "id": "string",
    "parentId": "string",
    "deptName": "string",
    "orderNum": 0,
    "leader": "string",
    "phone": "string",
    "email": "string",
    "status": "string"
}'

返回响应

🟢200
application/json
Bodyapplication/json

示例
{
    "code": 200,
    "msg": "string",
    "data": {},
    "success": true
}
修改于 2026-08-14 08:39:16
上一页
保存部门(冲突降级为修改)
下一页
删除部门
Built with