获取省份
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取省份</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xxx.xxx.com/user/get_province</code></li>
</ul>
<p><strong>请求方式:</strong>
-POST Content-Type: application/json;charset=utf-8</p>
<p><strong>返回示例</strong></p>
<pre><code> //成功
{
"code": 0,
"msg": 2006,
"data": [
{
"id": "110000",//获取城市的时候传入id
"name": "北京市",
"pid": "0"
},
{
"id": "120000",
"name": "天津市",
"pid": "0"
}
]
}
//失败
{
"code": 1,
"msg": 7001
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>