🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 此项目定制的街道接口 /** * 此项目定制的街道接口 * http_method get * @datetime 2017-06-22T22:36:21+0800 * @author 韩文博 */ +++ get:Server/address/customAreaStreet <<< success { "code":0, "result":{ "list":[ { "id":1, "name":"天津市", "relation_id":0, "grade":1, "cost_type":3, "cost":10, "sort":999, "create_time":"2017-06-15 18:06:51", "state":1, "child":[ { "id":2, "name":"南开区", "relation_id":1, "grade":2, "cost_type":3, "cost":10, "sort":999, "create_time":"2017-06-15 18:08:02", "state":1, "child":[ { "id":3, "name":"长虹街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:10:29", "state":1, "child":[ ] }, { "id":4, "name":"万兴街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:11:12", "state":1, "child":[ ] }, { "id":5, "name":"向阳路街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:11:39", "state":1, "child":[ ] }, { "id":6, "name":"嘉陵道街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:12:24", "state":1, "child":[ ] }, { "id":7, "name":"鼓楼街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:12:44", "state":1, "child":[ ] }, { "id":8, "name":"学府街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:13:03", "state":1, "child":[ ] }, { "id":9, "name":"华苑街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:13:24", "state":1, "child":[ ] }, { "id":10, "name":"王顶堤街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:13:50", "state":1, "child":[ ] }, { "id":11, "name":"兴南街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:14:19", "state":1, "child":[ ] }, { "id":12, "name":"广开街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:14:59", "state":1, "child":[ ] }, { "id":13, "name":"体育中心街", "relation_id":2, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:15:24", "state":1, "child":[ ] } ] }, { "id":48, "name":"河北区", "relation_id":1, "grade":2, "cost_type":3, "cost":13, "sort":999, "create_time":"2017-06-15 18:41:47", "state":1, "child":[ { "id":49, "name":"光复道", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:49:03", "state":1, "child":[ ] }, { "id":50, "name":"望海楼", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:49:37", "state":1, "child":[ ] }, { "id":51, "name":"鸿顺里", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:50:18", "state":1, "child":[ ] }, { "id":52, "name":"建昌道", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:52:09", "state":1, "child":[ ] }, { "id":53, "name":"宁园", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:52:41", "state":1, "child":[ ] }, { "id":54, "name":"王串场", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:53:06", "state":1, "child":[ ] }, { "id":55, "name":"江都路", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:53:25", "state":1, "child":[ ] }, { "id":56, "name":"月牙河", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:53:45", "state":1, "child":[ ] }, { "id":57, "name":"新开河", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:54:03", "state":1, "child":[ ] }, { "id":58, "name":"铁东路", "relation_id":48, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:54:24", "state":1, "child":[ ] } ] }, { "id":14, "name":"河西区", "relation_id":1, "grade":2, "cost_type":3, "cost":10, "sort":999, "create_time":"2017-06-15 18:15:46", "state":1, "child":[ { "id":18, "name":"挂甲寺街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:18:46", "state":1, "child":[ ] }, { "id":15, "name":"大营门街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:16:22", "state":1, "child":[ ] }, { "id":16, "name":"下瓦房街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:16:48", "state":1, "child":[ ] }, { "id":17, "name":"桃园街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:17:45", "state":1, "child":[ ] }, { "id":19, "name":"马场街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:19:16", "state":1, "child":[ ] }, { "id":20, "name":"越秀路街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:19:41", "state":1, "child":[ ] }, { "id":21, "name":"友谊路街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:20:06", "state":1, "child":[ ] }, { "id":22, "name":"天塔街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:20:33", "state":1, "child":[ ] }, { "id":23, "name":"尖山街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:21:47", "state":1, "child":[ ] }, { "id":24, "name":"陈塘庄街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:22:10", "state":1, "child":[ ] }, { "id":25, "name":"柳林街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:22:34", "state":1, "child":[ ] }, { "id":26, "name":"东海街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:22:59", "state":1, "child":[ ] }, { "id":27, "name":"梅江街", "relation_id":14, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:23:20", "state":1, "child":[ ] } ] }, { "id":28, "name":"和平区", "relation_id":1, "grade":2, "cost_type":3, "cost":10, "sort":999, "create_time":"2017-06-15 18:25:26", "state":1, "child":[ { "id":34, "name":"南市", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:29:44", "state":1, "child":[ ] }, { "id":33, "name":"南营门街", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:29:16", "state":1, "child":[ ] }, { "id":29, "name":"劝业场", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:26:12", "state":1, "child":[ ] }, { "id":30, "name":"小白楼", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:27:14", "state":1, "child":[ ] }, { "id":31, "name":"体育馆街", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:27:43", "state":1, "child":[ ] }, { "id":32, "name":"新兴街", "relation_id":28, "grade":3, "cost_type":1, "cost":10, "sort":999, "create_time":"2017-06-15 18:28:24", "state":1, "child":[ ] } ] }, { "id":59, "name":"红桥区", "relation_id":1, "grade":2, "cost_type":3, "cost":13, "sort":999, "create_time":"2017-06-15 18:54:48", "state":1, "child":[ { "id":70, "name":"街区", "relation_id":59, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-21 10:36:27", "state":1, "child":[ ] }, { "id":60, "name":"光复道", "relation_id":59, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-21 10:39:20", "state":1, "child":[ ] }, { "id":61, "name":"望海楼", "relation_id":59, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:55:57", "state":1, "child":[ ] } ] }, { "id":35, "name":"河东区", "relation_id":1, "grade":2, "cost_type":3, "cost":13, "sort":999, "create_time":"2017-06-15 18:30:43", "state":1, "child":[ { "id":36, "name":"大王庄街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:31:36", "state":1, "child":[ ] }, { "id":37, "name":"大直沽街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:32:04", "state":1, "child":[ ] }, { "id":38, "name":"中山门", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:32:31", "state":1, "child":[ ] }, { "id":39, "name":"富民路", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:33:48", "state":1, "child":[ ] }, { "id":40, "name":"春华街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:34:46", "state":1, "child":[ ] }, { "id":41, "name":"唐家口街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:38:47", "state":1, "child":[ ] }, { "id":42, "name":"向阳楼街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:39:05", "state":1, "child":[ ] }, { "id":43, "name":"常州道", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:39:27", "state":1, "child":[ ] }, { "id":44, "name":"上杭路", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:39:45", "state":1, "child":[ ] }, { "id":45, "name":"东新街", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:40:05", "state":1, "child":[ ] }, { "id":46, "name":"鲁山街道", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:40:38", "state":1, "child":[ ] }, { "id":47, "name":"二号桥", "relation_id":35, "grade":3, "cost_type":1, "cost":13, "sort":999, "create_time":"2017-06-15 18:41:23", "state":1, "child":[ ] } ] } ] } ] }, "msg":"SUCCESS" } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 +++