{
"role_name": "测试大大",
"role_desc": "测试北伐",
"authority_list": [
"panel",
"consoleManage",
"statisticsOrder",
"statisticsSale",
"saleTargets",
"statisticsGoods",
"statisticsUser",
"statisticsAccess",
"consumerRanking",
"newMembers"
]
}
curl --location --request POST '/adminapi/authority/admin_role/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"role_name": "测试大大",
"role_desc": "测试北伐",
"authority_list": [
"panel",
"consoleManage",
"statisticsOrder",
"statisticsSale",
"saleTargets",
"statisticsGoods",
"statisticsUser",
"statisticsAccess",
"consumerRanking",
"newMembers"
]
}'
{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "角色管理添加成功"
}
}