💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[info] 创建部门 调用本接口创建新部门。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/create-a-department-v2) * 代码: ~~~ $json = [ 'name' => '测试部门', 'parent_id' => 1 ]; $res = Department::create($json); echo($res); ~~~ * 返回: ``` { "errcode": 0, "errmsg": "ok", "result": { "dept_id": 808179795 }, "request_id": "15s521dau3j5e" } ```