curl --location --request POST 'http://127.0.0.1/admin/v1/permission/update' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 10,
"name": "ping",
"description": "服务心跳检测接口",
"method": "GET",
"route": "/ping",
"is_auth": 0,
"sort": 100
}'{
"code": 0,
"msg": "OK",
"data": null,
"cost": "8.057292ms"
}