市电路灯系统


1.10 省份下拉列表

<h4>请求地址</h4> <ul> <li>正式环境: <a href="https://www.lampmind.com/api/common/get_province">https://www.lampmind.com/api/common/get_province</a></li> <li>测试环境: <a href="https://sd.solar-iot.com/api/common/get_province">https://sd.solar-iot.com/api/common/get_province</a></li> </ul> <h4>请求方法</h4> <p><strong>POST</strong></p> <h4>请求参数</h4> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>说明</th> <th>必须存在</th> </tr> </thead> <tbody> <tr> <td>countryId</td> <td>int</td> <td>国家id</td> <td>Y</td> </tr> </tbody> </table> <h4>返回参数</h4> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>说明</th> <th>必须存在</th> </tr> </thead> <tbody> <tr> <td>status</td> <td>string</td> <td>返回码</td> <td>Y</td> </tr> <tr> <td>msg</td> <td>string</td> <td>返回信息</td> <td>Y</td> </tr> <tr> <td>data</td> <td>object</td> <td>结果数据</td> <td>Y</td> </tr> <tr> <td>list</td> <td>array</td> <td>省份列表</td> <td>Y</td> </tr> <tr> <td>id</td> <td>string</td> <td>省份id</td> <td>Y</td> </tr> <tr> <td>name</td> <td>string</td> <td>省份名称</td> <td>Y</td> </tr> </tbody> </table> <h4>返回内容实例</h4> <pre><code>{ "status":"0000", "msg":"操作成功", "data":{ "list":[ {"id":1,"name":"广州"}, .... ] } }</code></pre>

页面列表

ITEM_HTML