Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

获取可达目标国家

简要描述

获取可达目标国家列表。

请求URL

${baseUrl}/tf/v4/countries

请求方式

  • Method: POST
  • Content-Type: application/json

返回示例

{
    "data": [
        {
            "code": "ABW",
            "name": "Aruba",
            "shortCode": "AW"
        },
        {
            "code": "AFG",
            "name": "Afghanistan",
            "shortCode": "AF"
        }
    ],
    "msg": "操作成功",
    "status": 200,
    "success": true
}

返回参数说明

参数名称示例参数说明schema
datajson响应数据data信息
msg操作成功响应消息
status200响应码
successtrue是否成功,true表示成功

data 信息

参数名称示例参数说明
codeCHN国家,使用此值
nameAfghanistan国家名称
shortCodeAF国家简写