🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 获得某个id下的子信息 /** * 获得某个id下的子信息 * @http_method get * @param $pid 上级id 默认为0也就是省份 * @author 孙泉 * @return array */ +++ get:Server/Area/pidLists <<< success { "code":0, "result":{ "list":[ { "id":110101, "name":"东城区" }, { "id":110102, "name":"西城区" }, { "id":110105, "name":"朝阳区" }, { "id":110106, "name":"丰台区" }, { "id":110107, "name":"石景山区" }, { "id":110108, "name":"海淀区" }, { "id":110109, "name":"门头沟区" }, { "id":110111, "name":"房山区" }, { "id":110112, "name":"通州区" }, { "id":110113, "name":"顺义区" }, { "id":110114, "name":"昌平区" }, { "id":110115, "name":"大兴区" }, { "id":110116, "name":"怀柔区" }, { "id":110117, "name":"平谷区" }, { "id":110228, "name":"密云县" }, { "id":110229, "name":"延庆县" } ] }, "msg":"SUCCESS" } <<< error +++