Authorization: Bearer ********************
{
"errorCode": "string",
"errorMessage": "string",
"langType": "zh-cn",
"roleCode": "cw",
"roleFunctionAssignment": [
{
"flag": 0,
"functionName": "每日检查",
"functionUrl": "/check/daily",
"id": "string",
"imagePath": "https://example.com/icons/menu.png",
"subItems": [
{}
]
}
]
}
curl --location --request POST '/role/setFunction' \
--header 'Content-Type: application/json' \
--data-raw '{
"errorCode": "string",
"errorMessage": "string",
"langType": "zh-cn",
"roleCode": "cw",
"roleFunctionAssignment": [
{
"flag": 0,
"functionName": "每日检查",
"functionUrl": "/check/daily",
"id": "string",
"imagePath": "https://example.com/icons/menu.png",
"subItems": [
{}
]
}
]
}'
{
"code": 10000,
"data": "string",
"message": "提示消息内容"
}