Authorization: Bearer ********************
{ "name": "查看面板", "code": "index", "type": 1 }
curl --location 'http://127.0.0.1:3005/api/v1/permission/add' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "查看面板", "code": "index", "type": 1 }'
{ "data": {}, "message": "string", "code": 0, "success": true }