{
"tenantid": "WS000331",
"rolename": "测试自己的角色",
"roletmplcode": "02",
"status": "1",
"moduleList": [
{
"appcode": "SNC",
"modulecode": "SNC70000",
"roletmplcode":"02",
"methodList": []
},
{
"appcode": "SNC",
"modulecode": "SNC70001",
"roletmplcode":"02",
"methodList": []
}
]
}
curl --location --request POST '/tenantrole/saveAll' \
--header 'Ssotoken: {{accessToken}}' \
--header 'x-timestamp: 1713748800833' \
--header 'x-signature: KUXSucUrpWVx4Cjfq8XNig7l3yKhqLycqDMoJhHJpPU=' \
--header 'x-app-id: sncsit' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenantid": "WS000331",
"rolename": "测试自己的角色",
"roletmplcode": "02",
"status": "1",
"moduleList": [
{
"appcode": "SNC",
"modulecode": "SNC70000",
"roletmplcode":"02",
"methodList": []
},
{
"appcode": "SNC",
"modulecode": "SNC70001",
"roletmplcode":"02",
"methodList": []
}
]
}'
{}