Commit be8ad127 by 陶光胜

门店经纬度

parent 9bb2dc41
......@@ -831,7 +831,7 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO.setBusinessTimeList(dto.getBusinessTimeList());
esDTO.setPhotoList(dto.getPhotoList());
esDTO.setAddress(dto.getAddress());
Double[] location = {Double.valueOf(dto.getLatitude()),Double.valueOf(dto.getLongitude())};
Double[] location = {Double.valueOf(dto.getLongitude()),Double.valueOf(dto.getLatitude())};
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(esDTO));
jsonObject.put("location", location);
List<StoreExtendDTO> storeExtendDTOList = dto.getStoreExtendList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment