token: ********************
{
"id": 193, // 子项id,传空或不传为创建,否则是编辑
"name": "测试子项改名", // 子项名称
"dictionary_id": 1, // 字典id
}
curl --location --request POST 'http://cmi-api.gleg.site/api/dictionaries/cuItem' \
--header 'Content-Type: application/json' \
--header 'token;' \
--data-raw '{
"id": 193, // 子项id,传空或不传为创建,否则是编辑
"name": "测试子项改名", // 子项名称
"dictionary_id": 1, // 字典id
}'
{}