curl --location 'https://api.mingdao.com/v3/app/roles' \
--header 'HAP-Appkey;' \
--header 'HAP-Sign;'{
"data": {
"roles": [
{
"id": "角色Id",
"name": "角色名称",
"roleType": "角色类型",
"description": "角色描述",
"accounts": [
{
"accountId": "账号Id",
"fullname": "用户名",
"avatar": "用户头像链接"
}
],
"departments": [
{
"id": "部门Id",
"name": "部门名称"
}
],
"jobs": [
{
"id": "职位Id",
"name": "职位名称"
}
],
"orgRoleIds": [
"组织角色ID"
]
}
]
},
"success": true
}