文档
测试

添加部门

POST
{{url}}admin.php/system/department/add.html

请求头

参数名
类型
描述
必填
authkey
string
示例:{{authkey}}
必填
sessionid
string
示例:{{sessionid}}
必填

请求参数

参数名
类型
描述
必填
pid
int
非必填,默认0,父级ID,示例:6
必填
name
string
必填,部门名称,示例:子部门
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:保存成功
必填
data
string
示例:
必填
url
string
示例:
必填
wait
int
示例:3
必填