{
"name": "名著",
"id": 3
}
curl --location --request POST 'https://online-bookstore.aring.cc/api/category/update' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "名著",
"id": 3
}'
{
"code": 0,
"message": "成功",
"data": {
"id": 1,
"name": "名著",
"delFlag": 0
}
}