获取国际区号及国家
<p><strong>简要描述:</strong> </p>
<ul>
<li>国际区号及国家</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/gylm/Internationalcode/v1/index</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>post </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>搜索关键词</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"message": "SUCCESS",
"time": 1580723319,
"data": {
"hot": [
{
"area_code": "962",//国际区号
"country": "约旦" //国家名称
},
{
"area_code": "86",
"country": "中国"
}
],
"all": [
{
"code": "J",
"value": [
{
"area_code": "855",
"country": "柬埔塞"
}
]
},
{
"code": "L",
"value": [
{
"area_code": "371",
"country": "拉脱维亚"
}
]
},
{
"code": "M",
"value": [
{
"area_code": "223",
"country": "马里"
},
{
"area_code": "960",
"country": "马尔代夫"
}
]
},
{
"code": "Y",
"value": [
{
"area_code": "962",
"country": "约旦"
}
]
},
{
"code": "Z",
"value": [
{
"area_code": "86",
"country": "中国"
}
]
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">hot</td>
<td style="text-align: left;">object</td>
<td>热门集合</td>
</tr>
<tr>
<td style="text-align: left;">all</td>
<td style="text-align: left;">object</td>
<td>所有国际及对应区号</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>