{
"id": 2, //主键id
"typeName": "中级督学" //督学类型名称
}
curl --location --request POST 'localhost:8077/supervision/api/supervisionType/editType' \
--header 'token: 080b8fc4911640a19d33bbbfbd1d482d' \
--header 'token;' \
--header 'roleId: {{stuRoleId}}' \
--header 'channel: 2' \
--header 'Authorization: Bearer e04bc2ccd70847efbd8b3775fb951f4e' \
--header 'tenantId: {{tenantId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 2, //主键id
"typeName": "中级督学" //督学类型名称
}'
{
"code": 0,
"errorCode": 0,
"message": "string",
"result": "string",
"success": true
}