文档
测试

获取附近的景点和当前信息

POST
http://localhost:8082/red-memory-user/footprint/redfootprint/getNearFootprintList

接口描述

前期直接一次性返回一个打卡地列表后续景点多了再做进一步的修改优化

请求参数

参数名
类型
描述
必填
longitude
double
经度
必填
latitude
double
纬度
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
code
int
示例:0
必填
list
array
数据列表
必填
footprintId
string
示例:1454728891116687360 主键id
必填
footprintName
string
示例:撒旦法洒 景点名称
必填
footprintContent
string
示例:阿萨德 景点描述
必填
address
string
示例:爱上 景点地址
必填
cellphone
string
示例: 景点联系电话
必填
ticketPrice
int
示例:0 票价 0 可以显示为免费
必填
openTime
string
示例:说的 开放时间
必填
longitude
int
示例:22 经纬度
必填
latitude
int
示例:22
必填
images
string
示例: 图片可以是多张
必填
footprintTypeId
string
示例:1442022146724466688 景点所属分类
必填
city
string
示例:爱上 城市
必填
createTime
string
示例:2021-10-31 16:36:09 创建时间
必填
userId
string
示例:1 用户id
必填
updateTime
string
示例:2021-10-31 16:36:09 更新时间
必填
realDistance
float
示例:93.97156526453946 与目的地的距离大小 单位米
必填
articleType
String
文章类型 footMark
必填

说明 / 示例

{ "msg": "查询成功", "code": 0, "list": [ { "footprintId": "1454728891116687360", "footprintName": "撒旦法洒", "footprintContent": "阿萨德", "address": "爱上", "cellphone": "", "ticketPrice": 0, "openTime": "说的", "longitude": 22, "latitude": 22, "images": "", "footprintTypeId": "1442022146724466688", "city": "爱上", "createTime": "2021-10-31 16:36:09", "userId": "1", "updateTime": "2021-10-31 16:36:09", "realDistance": 93.97156526453946 }, { "footprintId": "1445393645288165376", "footprintName": "福建农林大学sad", "footprintContent": "阿萨德sadsad阿萨德撒撒", "address": "阿萨德sadsad阿萨德爱上", "cellphone": "231251", "ticketPrice": 21, "openTime": "收到的洒", "longitude": 12, "latitude": 12, "images": "http://guli123.oss-cn-beijing.aliyuncs.com/20211005/91412658b7764e94a00599c89eb3cfe8.jpg", "footprintTypeId": "1442022146724466688", "city": "sad阿萨阿萨德阿萨德", "createTime": "2021-10-05 22:21:13", "userId": "2", "updateTime": "2021-10-05 22:23:46", "realDistance": 113.87904269909217 }, { "footprintId": "1462044911867138048", "footprintName": "测试视频", "footprintContent": "收到的 ", "address": "阿萨德", "cellphone": "", "ticketPrice": 0, "openTime": "阿萨德", "longitude": 55, "latitude": 22, "images": "", "footprintTypeId": "1442022146724466688", "city": "阿萨德", "createTime": "2021-11-20 21:07:25", "userId": "1", "updateTime": "2021-11-20 21:07:25", "realDistance": 114.68049210088942 }, { "footprintId": "1458361019704414208", "footprintName": "234", "footprintContent": "234", "address": "234", "cellphone": "", "ticketPrice": 0, "openTime": "234", "longitude": 33, "latitude": 33, "images": "", "footprintTypeId": "1442022146724466688", "city": "234", "createTime": "2021-11-10 17:08:56", "userId": "2", "updateTime": "2021-11-10 17:08:56", "realDistance": 239.7981419927175 } ] }