URI
POST https://yifei-global.ctapi.ctyun.cn/v1/company/user/roles
返回结果
名称 | 类型 | 描述 |
---|---|---|
code | String | 响应状态,0表示成功,非0表示失败 |
msg | String | 返回信息, 如"操作成功" |
data | String | 返回数据,json数组格式 |
data数组对象
名称 | 类型 | 描述 |
---|---|---|
remark | string | 备注 |
createUserId | string | 创建人id |
updateUserId | string | 更新人id |
createTime | string | 创建时间 |
updateTime | string | 更新时间 |
id | string | 部门id |
companyId | string | 企业id |
name | string | 部门名称 |
parentId | string | 父部门id |
parentName | string | 父部门名称 |
type | string | 类型 |
hasChild | string | 是否含子部门 |
upDownCorpId | string | 微信上下游企业id |
示例
请求示例
POST https://yifei-global.ctapi.ctyun.cn/v1/company/organs
正常返回示例
{
"msg": "操作成功",
"code": "0",
"data": [
{
"remark": null,
"createUserId": "xxx",
"updateUserId": null,
"createTime": 1648085212000,
"updateTime": null,
"id": "xxx",
"companyId": "xxx",
"name": "test",
"parentId": "xxx",
"parentName": "总部门",
"type": 0,
"hasChild": false,
"staffNum": null,
"masterIdList": null,
"openOrganId": null,
"managerIdList": null,
"organNames": null,
"upDownCorpId": null
}
]
}