1.6获取用户可选区域


简要描述
  • 获取用户可选区域,用于上传应用时,设置同步区域
请求URL
  • https://www.pingxingyun.com/console/api/poc/hostAppli/getRegionlist
请求方式
  • get
请求Query参数
参数名 示例值 必选 类型 说明
timestamp 8641648782406069 string
Key xxxxxxxx string
signature 6DDB63E9E0539638E2F07D8E183BB71BDFDCE375 string 在开发者平台后台,账号—安全设置—秘钥管理查看Key&Secret:用于二次开发的接入凭证 【使用规则】
成功返回示例
{
  "code": 1000,
  "message": "Success",
  "result": {
    "regionList": [
      {
        "regionId": "50",
        "regionType": "1",
        "regionName": "50"
      }
    ],
    "specifiedRegionList": [
      {
        "regionId": "50",
        "regionType": "1",
        "regionName": "50"
      }
    ]
  }
}
成功返回示例的参数说明
参数名 类型 说明
code string code
message string 消息
result object 结果
regionList array 所有可选区域
regionList.regionId string 可选区域的ID
regionList.regionType string 可选区域的类型 ,0:共享区域,1:定向区域
regionList.regionName string 可选区域的名称
specifiedRegionList array 属于您的定向区域
specifiedRegionList.regionId string 定向区域ID
specifiedRegionList.regionType string 1:定向区域
specifiedRegionList.regionName string 定向区域的名称

admin 2025年3月11日 17:38 收藏文档

开发者交流群

QQ群号:1011308692