{ "name": "管理员", "username": "root1", "password": "123456", "can_create": true, "can_delete": true, "can_edit": true, "can_view": true, "is_super": true, "school": "北大", "phone": "" }
curl --location --request POST 'https://selfxu.cn:5000/manager_info/add' \ --header 'Cookie: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InJvb3QiLCJleHAiOjE3MTg5OTQ2ODl9.8o7AvB2fivIQh-wl-77l-vMFXEDA2ye65ba5m_zxXdQ' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "管理员", "username": "root1", "password": "123456", "can_create": true, "can_delete": true, "can_edit": true, "can_view": true, "is_super": true, "school": "北大", "phone": "" }'
{ "data": { "can_create": true, "can_delete": true, "can_edit": true, "can_view": true, "id": "888e9648-da2e-490b-91e1-0af9e382ac56", "is_super": true, "name": "管理员", "phone": "", "school": "北大", "username": "root1" }, "message": "管理员添加成功", "status": "success" }