{
"id": 2,
"code": "ROLE_QA",
"name": "质检员",
"enable": true,
"permissionIds": [
1,
2,
3,
4,
5,
9,
10,
11,
12,
14
]
}
curl --location --request PATCH '/role/1' \
--header 'Authorization: Bearer {{jwtToken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 2,
"code": "ROLE_QA",
"name": "质检员",
"enable": true,
"permissionIds": [
1,
2,
3,
4,
5,
9,
10,
11,
12,
14
]
}'
{
"code": 0,
"message": "OK",
"originUrl": "sssss"
}