curl --location --request GET 'https://api-vue-base.itheima.net/api/cq/category?type=剑士'
{
"msg": "获取法师英雄数据",
"code": 200,
"data": {
"heros": [
{
"heroName": "黑袍魔女桃乐丝",
"heroIcon": "http://p4.qhimg.com/dr/72__/t015a7af93e23e5c67c.png",
"skillName": "奥能脉冲",
"skillIcon": "http://p3.qhimg.com/dr/52__/t01179c3d8588da2733.png",
"weaponName": "月之女王",
"weaponIcon": "http://p2.qhimg.com/dr/45__/t01a05a602fe8a972b8.png"
},
]
}