|
|
@ -105,9 +105,9 @@ public class MapLogisticController { |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/uploadGps") |
|
|
|
@PostMapping("/uploadGps") |
|
|
|
@ApiOperation(value = "安卓定时上传GPS定位") |
|
|
|
@ApiOperation(value = "安卓定时上传GPS定位") |
|
|
|
public R uploadGps(@RequestBody Map<String, Object> mapLogistic) { |
|
|
|
public R uploadGps(@RequestBody MapLogistic mapLogistic) { |
|
|
|
System.out.println("当前安卓GPS定位为: 经度值:"+ mapLogistic.get("courierLng") + "||纬度值:" + mapLogistic.get("courierLat") + "||收样员id:" + mapLogistic.get("courierUserId") + "||收样员名称:" + mapLogistic.get("courierUserName")); |
|
|
|
System.out.println("当前安卓GPS定位为: 经度值:"+ mapLogistic.getCourierLng() + "||纬度值:" + mapLogistic.getCourierLat() + "||收样员id:" + mapLogistic.getCourierUserId() + "||收样员名称:" + mapLogistic.getCourierUserName()); |
|
|
|
return R.ok("当前安卓GPS定位为: 经度值:"+ mapLogistic.get("courierLng") + "||纬度值:" + mapLogistic.get("courierLat") + "||收样员id:" + mapLogistic.get("courierUserId") + "||收样员名称:" + mapLogistic.get("courierUserName")); |
|
|
|
return R.ok("当前安卓GPS定位为: 经度值:"+ mapLogistic.getCourierLng() + "||纬度值:" + mapLogistic.getCourierLat() + "||收样员id:" + mapLogistic.getCourierUserId() + "||收样员名称:" + mapLogistic.getCourierUserName()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|