curl --location --request GET 'https://gxs.shhkgxs.com:27443/api/daping/oldman_age_count' \
--header 'company_id: 1' \
--header 'x-token-u: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjUwNzksImZyb20iOiJhZG1pbiIsInRpbWUiOjE3NDI0Mzc1OTd9.UzYRFZO06kDxhnr8uUk6nJ1UrQNXTs3RLqiFLbo421c'
{
"data": [
{
"title": "60岁以下",
"count": "14",
"ratio": "7.82%",
"age_min": 0,
"age_max": 59
},
{
"title": "60-69岁",
"count": "38",
"ratio": "21.23%",
"age_min": 60,
"age_max": 69
},
{
"title": "70-79岁",
"count": "68",
"ratio": "37.99%",
"age_min": 70,
"age_max": 79
},
{
"title": "80-89岁",
"count": "41",
"ratio": "22.91%",
"age_min": 80,
"age_max": 89
},
{
"title": "90岁及以上",
"count": "18",
"ratio": "10.06%",
"age_min": 90,
"age_max": 999
}
],
"type": "success",
"msg": "数据获取成功",
"code": 0
}