Authorization: Bearer ********************
{ "name": "鞋子" }
curl --location --request PATCH 'https://cms.server.hqk10.top/api/v1/category/8' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "鞋子" }'
{ "data": "更新商品分类成功~", "code": 200, "message": "操作成功" }