|
@@ -157,6 +157,8 @@ public class MemberEnquiryModel {
|
|
|
if (!StringUtil.isEmpty(location.getTimeZone())) {
|
|
|
dto.setTimeZone(location.getTimeZone());
|
|
|
}
|
|
|
+ dto.setLatitude(location.getLatitude());
|
|
|
+ dto.setLongitude(location.getLongitude());
|
|
|
dto.setCityIsoCode(StringUtil.isEmpty(city.getName()) ? subdivision.getNames().get("en") : city.getName());
|
|
|
} catch (IOException | GeoIp2Exception e) {
|
|
|
e.printStackTrace();
|
|
@@ -713,6 +715,7 @@ public class MemberEnquiryModel {
|
|
|
* @return
|
|
|
*/
|
|
|
public List<ScreenEnquiryDistribution> getEnquiryDistribution(String webSite) {
|
|
|
+ System.out.println(getCountryAndAreaByIp("97.64.105.122"));
|
|
|
return memberEnquiryReadMapper.getEnquiryDistribution(webSite);
|
|
|
}
|
|
|
}
|