Commit f89d0568 by 陶光胜

门店经纬度

parent 3c0c5137
......@@ -831,8 +831,9 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO.setBusinessTimeList(dto.getBusinessTimeList());
esDTO.setPhotoList(dto.getPhotoList());
esDTO.setAddress(dto.getAddress());
esDTO.setLocation(dto.getLatitude()+","+dto.getLongitude());
String[] location = {dto.getLatitude(),dto.getLongitude()};
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(esDTO));
jsonObject.put("location", location);
List<StoreExtendDTO> storeExtendDTOList = dto.getStoreExtendList();
for (StoreExtendDTO extendDTO : storeExtendDTOList) {
String key = "enterprise:store:storeField:" + enterpriseId + ":" + extendDTO.getStoreFieldId();
......
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