简要描述:

请求URL:

GET/plugin.store-community.frontend.community.getCityInitials

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "initials": [
            {
                "item": [
                    {
                        "initials": "C",
                        "city_id": 150400,
                        "city_name": "赤峰市"
                    }
                ],
                "title": "C"
            },
            {
                "item": [
                    {
                        "initials": "H",
                        "city_id": 230100,
                        "city_name": "哈尔滨市"
                    }
                ],
                "title": "H"
            }
        ]
    }
}

返回参数说明:

参数名 类型 说明
initials arr 社区开通城市首字母数组
initials->item arr 每个地区的信息
initials->item->initials str 首字母
initials->item->city_id int 城市id
initials->item->city_name str 城市名称
initials->title str 首字母