Request
Body Params application/json
{
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"departId": "string",
"description": "string",
"id": "string",
"roleCode": "string",
"roleName": "string",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z"
}
Request Code Samples
curl --location --request POST '/sys/sysDepartRole/add' \
--header 'x-access-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzeXNVaWQiOiJlOWNhMjNkNjhkODg0ZDRlYmIxOWQwNzg4OTcyN2RhZSIsInVzZXJJZGVudGl0eSI6MiwiZXhwIjoxNzQ3MDgxNzYzLCJ1c2VybmFtZSI6ImFkbWluIn0.NaeqryXHUXcM8u5j_l2cIjTyywLEiMHQklrPpEHy79k' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"departId": "string",
"description": "string",
"id": "string",
"roleCode": "string",
"roleName": "string",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z"
}'
Responses
{
"code": 0,
"message": "string",
"result": {},
"success": true,
"timestamp": 0
}
Modified at 2025-08-12 02:52:39