查询经销商根据城市编码

#### 简要描述: - 查询经销商列表,根据城市id #### 接口版本: |版本号|制定人|制定日期|修订日期| |:---- |:---|:----- |----- | |1.0.0 |张玉龙 |2020-12-03 |2020-12-03 | #### 请求URL: - http://ip:port/semi-api/dealer/getDealerByCode #### 请求方式: - POST/JSON #### 请求头: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |Content-Type |是 |string |请求类型: application/json | #### 请求示例: ```json { "city": "", "county": "", "province": "110000" } ``` #### 请求参数: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |province|否 |string |省编码 | |city|否 |string |市编码 | |county|否 |string |区县编码 | #### 返回示例: **正确时返回:** ```json { "msg": "操作成功", "code": 200, "data": [ { "approvalStatus": "103", "approver": "admin", "authorizationLevel": "", "businessAddress": "北京市东城区正义路7号(近最高人民法院)", "businessLicense": "/semi-api/file/download/b350cee016d8460886210dd7f479275d/png", "city": "110100", "constructionOrganization": "admin", "county": "110101", "createTime": "2021-01-20 09:45:22", "dealerCode": "", "dealerName": "bb", "id": 98, "legalPersonIdCardBack": "/semi-api/file/download/8e0cd45f1a97406fb75748a5c9543842/jpg", "legalPersonIdCardFront": "/semi-api/file/download/d38aec385b624e1a88859c2d3d932335/jpg", "legalPersonMobile": "13333333333", "legalPersonName": "aa", "location": { "address": "北京市东城区正义路7号(近最高人民法院)", "createTime": "2021-01-20 09:45:22", "dealerId": 98, "id": 11, "latitude": "39.90423", "longitude": "116.406468", "name": "北京瑞安宾馆", "page": 1, "rows": 10, "updateTime": "2021-01-20 09:45:22" }, "operatingPersonnel": "", "operatorMobile": "14955555555", "operatorName": "cc", "page": 1, "province": "110000", "regionalManagerId": "", "regionalManagerName": "", "rows": 10, "shop": "/semi-api/file/download/7f8af0b2d2324d54a5d4b4dfa057dd25/png", "updateTime": "2021-01-20 09:46:29", "userId": 14 } ] } ``` **错误时返回:** ```json { "msg": "请求失败", "code": -200, "data": {} } ``` #### 返回参数(通用参数)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |code|是 |string | 200 成功 其他失败 | |msg|是 |string |成功或失败消息内容 | |data|是 |array | 经销商集合 | #### 返回参数(data)说明: | 参数名称 | 参数类型 | 示例值 | 备注 | | ------------ | ------------ | ------------ | ------------ | |approvalStatus|string|102| 审批状态 <br> 101 未审批 <br> 102 审批通过 <br> 103 审批不通过| |approver|string|user|审批人 | |authorizationLevel|string|市级代理|授权级别 | |businessAddress|string|北京市东城区建国门大街| 经营地址| |businessLicense|string|/sssa/erew| 营业执照照片| |constructionOrganization|string|user|门店名称 | |createTime|string|2020-12-03 10:24:15| 创建时间| |dealerCode|string|2033814563300001|经销商编码 | |dealerName|string|华灰度电话撒|经销商名称 | |id|number|88| 主键id| |legalPersonIdCardBack|string|/sss/ssaa|法人身份证反面 | |legalPersonIdCardFront|string|/aaoo/dddf| 法人身份证正面| |legalPersonMobile|string|13799990000| 法人电话| |legalPersonName|string|法人测试|法人名称 | |operatingPersonnel|string|user| 操作人| |operatorMobile|string|13789898882|经营人电话 | |operatorName|string|测试经营|经营人名称| |province|string|100023|省 | |city|string|00001| 市编码| |county|string|00001| 县(区)编码| |regionalManagerId|string|89|区域经理id | |regionalManagerName|string|华北区| 区域经理名称| |shop|string|/ssqw/dwwsd| 门店照片| |updateTime|string|2020-12-03 14:36:21| 更新时间| |location|object|2020-12-03 14:36:21| 店铺坐标| #### 返回参数(location)说明: | 参数名称 | 参数类型 | 示例值 | 备注 | | ------------ | ------------ | ------------ | ------------ | |dealerId|string|1123414| 经销商id| |latitude|string|39.980231| 纬度| |longitude|string|116.313796|经度| |name|string|北京市东城区建国门大街2|名称| |address|string|北京市东城区建国门大街2|地址| |updateTime|string|2020-12-03 14:36:21| 更新时间| |createTime|string|2020-12-03 10:24:15| 创建时间|