Authorization: Bearer ********************{
"roleName": "2",
"roleKey": "2",
"roleSort": 2,
"status": "0",
"menuIds": [
2533,
2534,
2535,
2527,
2528,
2529,
2530,
2531,
2532,
2568,
2569,
2570,
2571,
2572,
2573,
2574,
2575,
2576,
2577,
2578,
2579,
2607,
2608,
2603,
2604,
2605,
2606,
2582,
2677,
2676,
2583,
2650,
2584,
2649,
2585,
2586,
2587,
2588,
2589,
2651,
2678,
2590,
2591,
2646,
2635,
2645,
2636,
2637,
2638,
2639,
2640,
2641,
2642,
2643,
2644
]
}curl --location --request POST '/api/v1.0/admin/role' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"roleName": "2",
"roleKey": "2",
"roleSort": 2,
"status": "0",
"menuIds": [
2533,
2534,
2535,
2527,
2528,
2529,
2530,
2531,
2532,
2568,
2569,
2570,
2571,
2572,
2573,
2574,
2575,
2576,
2577,
2578,
2579,
2607,
2608,
2603,
2604,
2605,
2606,
2582,
2677,
2676,
2583,
2650,
2584,
2649,
2585,
2586,
2587,
2588,
2589,
2651,
2678,
2590,
2591,
2646,
2635,
2645,
2636,
2637,
2638,
2639,
2640,
2641,
2642,
2643,
2644
]
}'{
"code": 200,
"msg": "成功"
}