fix Field only ever set to null:GeoInfo
This commit is contained in:
parent
86b23931bb
commit
f17e7ebcde
1 changed files with 5 additions and 1 deletions
|
@ -726,7 +726,11 @@ public class JsonApiManager extends BaseApiManager {
|
|||
|
||||
@Override
|
||||
public GeoInfo getGeoInfo() {
|
||||
return null;
|
||||
GeoInfo geoInfo = new GeoInfo();
|
||||
geoInfo.latitude = request.getParameter("geo.latitude");
|
||||
geoInfo.longitude = request.getParameter("geo.longitude");
|
||||
geoInfo.distance = request.getParameter("geo.distance");
|
||||
return geoInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue