minisns接口
1、全局说明
2、错误码
3、站点整体配置信息
登录
app微信登录
App支付
app支付类型
创建订单(充电,开通会员)
创建订单(购物车)
前端查询订单支付状态
微信支付通知(微信官方调用)
支付宝通知(支付宝官方调用)
购物车订单重新支付
网站扫码支付
模块
滑动视频
用户相关
获取用户
三方系统用户登录状态同步
笔记相关
与我相关的笔记
评论分页
系统相关【后端接口】
用户通知
余额变动
金币变动
定位服务
逆地理编码
收集系统
为收集系统增加数据
分站列表
增加商品
二手系统
新增评论
评论列表
领养系统
领养-留言列表
领养-新增留言
图集系统
图集-新增评论
图集-评论列表
系统转换
DiscuzX导出说明。
其他
获取微信小程序UrlLink
群机器人
获取推送信息
本文档由 @邵闻 发布
-
+
首页
逆地理编码
### 逆地理编码 对接高德开放平台,返回经纬度对应的结构化信息 ------------ ### 接口说明 适用对象: 所有 请求URL:api/v1/geocode/regeo 请求方式:POST ### 请求参数 | 参数名 | 变量 | 类型 | 必选 | 描述 | | --- | --- | --- | --- | --- | | 经度 | longitude | float | 是 | 经度如:116.397477 | | 纬度 | latitude | float | 是 | 纬度如:39.908692 | | 周边 | poitype | string | 否 | 多个用竖号隔开,比如:高等院校\|中学 | | 半径 | radius | int | 否 | 默认值1000米 | ### 返回参数 | 参数名 | 变量 | 类型 | 必选 | 描述 | | --- | --- | --- | --- | --- | | 状态 | status | bool | 是 | 该业务是否正确执行 | | 错误码 | code | int | 是 | 200/500001/503001 | | 提示 | message | string | 是 | 错误码提示 | | 数据 | data | array | 是 | 若成功,返回infocode和regeocode | ### 返回示例 ```json { "status": true, "code": 200, "message": "成功", "data": { "infocode": "10000", "regeocode": { "roads": [ { "id": "010J50F0020192946", "location": "116.398,39.9077", "direction": "北", "name": "西长安街", "distance": "110.897" }, { "id": "010J50F00202065684", "location": "116.396,39.9089", "direction": "东", "name": "广场西路", "distance": "157.342" }, { "id": "010J50F0020203526", "location": "116.396,39.9076", "direction": "东北", "name": "广场西侧路", "distance": "190.064" } ], "roadinters": [ { "second_name": "广场西侧路", "first_id": "010J50F0020192946", "second_id": "010J50F0020203526", "location": "116.395740,39.907418", "distance": "204.944", "first_name": "西长安街", "direction": "东北" } ], "formatted_address": "北京市东城区东华门街道天安门", "addressComponent": { "city": [], "province": "北京市", "adcode": "110101", "district": "东城区", "towncode": "110101001000", "streetNumber": { "number": "4号", "location": "116.395536,39.911223", "direction": "西北", "distance": "326.535", "street": "西长安街" }, "country": "中国", "township": "东华门街道", "businessAreas": [ { "location": "116.416804,39.913479", "name": "东单", "id": "110101" }, { "location": "116.412031,39.913505", "name": "王府井", "id": "110101" }, { "location": "116.391134,39.895089", "name": "大栅栏", "id": "110102" } ], "building": { "name": "天安门", "type": "风景名胜;风景名胜相关;旅游景点" }, "neighborhood": { "name": [], "type": [] }, "citycode": "010" }, "aois": [ { "area": "26308.108884", "type": "110202", "id": "B000A60DA1", "location": "116.397455,39.909187", "adcode": "110101", "name": "天安门", "distance": "0" }, { "area": "2022.832923", "type": "110200", "id": "B000A9LF3J", "location": "116.397663,39.908002", "adcode": "110101", "name": "外金水桥", "distance": "40.2537" } ], "pois": [ { "id": "B000A60DA1", "direction": "北", "businessarea": "东单", "address": "长安街北侧", "poiweight": "0.865387", "name": "天安门", "location": "116.397455,39.909187", "distance": "55.0758", "tel": "010-86409660", "type": "风景名胜;风景名胜;国家级景点" }, { "id": "B000A9LF3J", "direction": "南", "businessarea": "东单", "address": "东长安街天安门内(天安门东地铁站A西北入口步行190米)", "poiweight": "0.309069", "name": "外金水桥", "location": "116.397663,39.908002", "distance": "78.3531", "tel": "010-86409660", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFG8YDKK", "direction": "东北", "businessarea": "东单", "address": "东长安街天安门(天安门东地铁站A西北入口步行290米)", "poiweight": "0.309221", "name": "天安门-城楼", "location": "116.397573,39.908743", "distance": "9.97553", "tel": "010-86409660", "type": "风景名胜;风景名胜;国家级景点" }, { "id": "B0FFFRLTUT", "direction": "南", "businessarea": "东单", "address": "景山前街4号天安门广场内(北侧)", "poiweight": "0.277117", "name": "天安门广场-国旗", "location": "116.397554,39.906928", "distance": "196.254", "tel": "010-63095745", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFKXL4XF", "direction": "南", "businessarea": "东单", "address": "西长安街与广场西侧路交叉口东160米", "poiweight": "0.286531", "name": "升旗台", "location": "116.397559,39.906926", "distance": "196.485", "tel": [], "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B000A9PHSU", "direction": "西南", "businessarea": "东单", "address": "西长安街与广场西侧路交叉口西40米", "poiweight": "0.418794", "name": "长安街", "location": "116.395174,39.907546", "distance": "234.151", "tel": [], "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B000A9PIVP", "direction": "西南", "businessarea": "东单", "address": "东长安街天安门内", "poiweight": "0.284313", "name": "天安门华表", "location": "116.396911,39.908058", "distance": "85.4289", "tel": "010-86409660", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFFDGWE7", "direction": "西", "businessarea": "东单", "address": "东长安街天安门内(天安门东地铁站A西北入口步行200米)", "poiweight": "0.320747", "name": "天安门观礼台", "location": "116.396590,39.908363", "distance": "84.0308", "tel": "010-86409660", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B000A7VMK9", "direction": "北", "businessarea": "东单", "address": "景山前街4号故宫博物院内(南侧)", "poiweight": "0.627802", "name": "端门", "location": "116.397413,39.910396", "distance": "189.582", "tel": "010-85007063", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFF5I0LC", "direction": "东南", "businessarea": "东单", "address": "东长安街天安门内(天安门东地铁站A西北入口步行170米)", "poiweight": "0.284194", "name": "天安门前石狮子", "location": "116.397930,39.908091", "distance": "77.1839", "tel": "010-86409660", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFFT8FM0", "direction": "东北", "businessarea": "东单", "address": "西长安街太庙(天安门东地铁站A西北入口步行320米)", "poiweight": "0.279092", "name": "太庙街门", "location": "116.398155,39.909721", "distance": "128.228", "tel": [], "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFFBXM7N", "direction": "东", "businessarea": "东单", "address": "天安门东侧", "poiweight": "0.185973", "name": "北京市劳动人民文化宫科技馆", "location": "116.399310,39.908576", "distance": "156.886", "tel": [], "type": "科教文化服务;科技馆;科技馆" }, { "id": "B000A7I4X8", "direction": "东北", "businessarea": "东单", "address": "东长安街天安门东侧", "poiweight": "0.236444", "name": "北京市劳动人民文化宫", "location": "116.400005,39.910700", "distance": "310.418", "tel": [], "type": "科教文化服务;文化宫;文化宫" }, { "id": "B0FFGCWA1Q", "direction": "西北", "businessarea": "东单", "address": "故宫内(天安门西地铁站B东北口步行490米)", "poiweight": "0.308381", "name": "中山公园-孙中山像", "location": "116.395593,39.909692", "distance": "195.415", "tel": "010-66055431", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFFT8FJU", "direction": "西", "businessarea": "东单", "address": "中山公园内(天安门西地铁站B东北口步行410米)", "poiweight": "0.339658", "name": "中山公园派出所(广场西路)", "location": "116.396096,39.908933", "distance": "120.795", "tel": "010-66055229", "type": "政府机构及社会团体;公检法机构;公安警察" }, { "id": "BX10020895", "direction": "东", "businessarea": "东单", "address": "1号线/八通线", "poiweight": "0.187875", "name": "天安门东地铁站A西北入口", "location": "116.399948,39.908021", "distance": "223.592", "tel": [], "type": "交通设施服务;地铁站;出入口" }, { "id": "BV10006499", "direction": "东", "businessarea": "东单", "address": "1号线/八通线", "poiweight": "0.6", "name": "天安门东(地铁站)", "location": "116.401216,39.907780", "distance": "334.679", "tel": [], "type": "交通设施服务;地铁站;地铁站" }, { "id": "B000A9PIZN", "direction": "西", "businessarea": "东单", "address": "中华路4号(天安门西地铁站B东北口步行420米)", "poiweight": "0.309069", "name": "中山公园-保卫和平坊", "location": "116.395706,39.909167", "distance": "160.017", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFFT7Y9H", "direction": "西北", "businessarea": "东单", "address": "故宫内(天安门西地铁站B东北口步行440米)", "poiweight": "0.276951", "name": "中山公园-青云片", "location": "116.396315,39.909397", "distance": "126.368", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFKXL4XB", "direction": "西南", "businessarea": "东单", "address": "故宫内", "poiweight": "0.290607", "name": "石狮", "location": "116.396970,39.908054", "distance": "83.0902", "tel": "010-86409660", "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B000A840SB", "direction": "西北", "businessarea": "东单", "address": "中华路4号(天安门西侧)", "poiweight": "0.697593", "name": "中山公园", "location": "116.394407,39.910707", "distance": "344.641", "tel": "010-66055431;12301", "type": "风景名胜;公园广场;公园" }, { "id": "B000A80P1G", "direction": "西", "businessarea": "东单", "address": "中华路4号中山公园(天安门西地铁站B东北口步行360米)", "poiweight": "0.680951", "name": "中山公园(南门)", "location": "116.395679,39.908461", "distance": "155.504", "tel": [], "type": "通行设施;临街院门;临街院正门" }, { "id": "B0FFFT7N5Z", "direction": "东", "businessarea": "东单", "address": "故宫内(天安门东地铁站A西北入口步行100米)", "poiweight": "0.339658", "name": "劳动人民文化宫派出所", "location": "116.399748,39.908746", "distance": "193.815", "tel": "010-65132089;010-65251821", "type": "政府机构及社会团体;公检法机构;公安警察" }, { "id": "B0FFG0ZMY3", "direction": "西", "businessarea": "东单", "address": "故宫内(天安门西地铁站B东北口步行460米)", "poiweight": "0.309077", "name": "长廊(广场西路)", "location": "116.395536,39.909445", "distance": "185.522", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFF5E9C6", "direction": "西北", "businessarea": "东单", "address": "故宫内", "poiweight": "0.291936", "name": "槐柏合抱", "location": "116.395876,39.909865", "distance": "188.84", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFFV1LBH", "direction": "北", "businessarea": "东单", "address": "东长安街北京市劳动人民文化宫", "poiweight": "0.309782", "name": "太庙右门", "location": "116.398115,39.911020", "distance": "264.539", "tel": [], "type": "风景名胜;风景名胜;风景名胜" }, { "id": "B0FFFDNHDH", "direction": "东南", "businessarea": "东单", "address": "西长安街与广场东侧路交叉口西南80米", "poiweight": "0.236483", "name": "天安门广场(出入口)", "location": "116.398503,39.907146", "distance": "192.897", "tel": [], "type": "通行设施;虚拟门;虚拟门" }, { "id": "B0FFFTBKVQ", "direction": "东北", "businessarea": "东单", "address": "长安街北京市劳动人民文化宫(外桥东北)", "poiweight": "0.311285", "name": "郜三喜像", "location": "116.398861,39.910031", "distance": "190.04", "tel": [], "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFFT7UAF", "direction": "西北", "businessarea": "东单", "address": "故宫内", "poiweight": "0.279092", "name": "古树", "location": "116.395009,39.909834", "distance": "245.851", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" }, { "id": "B0FFGCWA1F", "direction": "西", "businessarea": "东单", "address": "中山公园内(天安门西地铁站B东北口步行470米)", "poiweight": "0.308381", "name": "中山公园北斗七松", "location": "116.395096,39.909294", "distance": "213.826", "tel": "010-66055431", "type": "风景名胜;风景名胜相关;旅游景点" } ] } } } ```
@邵闻
2023年9月16日 18:30
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码