Authorization: Bearer ********************{
"roleId": 1,
"dataScope": 1,
"dataScopeDeptIds": "1,3,5"
}curl --location '/admin-api/system/permission/assign-role-data-scope' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"roleId": 1,
"dataScope": 1,
"dataScopeDeptIds": "1,3,5"
}'{
"code": 0,
"data": true,
"msg": "string"
}