1:查询开通城市

2021年11月05日

查询开通城市

接口说明:可以用来判断城市是否开通闪送服务,供订单计费使用。开通城市基本不变,建议存储到本地并且定时查询进行更新。
  • 入参说明
参数 示例 说明
clientId ss6DzHy9GvHB46Jgo App-key
accessToken 70882965-5e51-463f-a746-7bcf1b3f1c34 通过商户授权获取
timestamp 1631862240982 毫秒级时间戳
sign 955E0C0DDAF87B9D26E0171BEF65C0D8 签名
  • 出参说明
参数 类型/是否必传 说明 示例
index String(1)/YES 城市首字母 A
name String(20)/YES 城市名称 鞍山市
id Long(20)/YES 城市ID 2130
fakeCities Object[]/NO 对象弃用,请忽略
  • 入参示例
clientId:ss6DzHy9GvHB46Jgo
accessToken:70882965-5e51-463f-a746-7bcf1b3f1c34
timestamp:1631862240982
sign:955E0C0DDAF87B9D26E0171BEF65C0D8
  • 出参示例
   {
    "status":200,
    "msg":null,
    "data":[
        {
            "index":"A",
            "cities":[
                {
                    "index":"A",
                    "name":"鞍山市",
                    "id":2103
                },
                {
                    "index":"A",
                    "name":"安阳市",
                    "id":4105
                }
            ]
        },
        {
            "index":"B",
            "cities":[
                {
                    "index":"B",
                    "name":"北京市",
                    "id":1101
                }
            ]
        }
    ]
}
关键词: