简要描述:

  • 客人发送定位

请求URL:

  • /api/guest/sendlocation

请求参数:

参数名 是否必须 类型 说明
guestId int32 客人Id
locationInfos object 定位信息

locationInfos参数

参数名 是否必须 类型 说明
lat double 纬度
lon double 纬度
accuracy double 精度

入参示例:

  1. {
  2. "guestId": 20,
  3. "locationInfos": {
  4. "lat": 0,
  5. "lon": 0,
  6. "accuracy": 0
  7. }
  8. }

返回示例:

正确时返回:

  1. {
  2. "code": 200,
  3. "success": true,
  4. "message": null,
  5. "result": true
  6. }

错误时返回:

返回参数说明:

Data数据说明

参数名 类型 说明
result bool 发送结果 true成功 false失败

备注:

-