| Line 486... |
Line 486... |
| 486 |
}
|
486 |
}
|
| 487 |
return responseSender.ok(responseMap);
|
487 |
return responseSender.ok(responseMap);
|
| 488 |
|
488 |
|
| 489 |
}
|
489 |
}
|
| 490 |
|
490 |
|
| 491 |
@RequestMapping(value = "/mobileappsettings", method = RequestMethod.POST)
|
491 |
@RequestMapping(value = "/mobileappsettings")
|
| 492 |
public ResponseEntity<?> mobileAppSettings(HttpServletRequest request, @RequestParam(name = "t") int timestamp,
|
492 |
public ResponseEntity<?> mobileAppSettings(HttpServletRequest request, @RequestParam(name = "t") int timestamp,
|
| 493 |
@RequestParam(name = "imeinumber") String imeinumber)
|
493 |
@RequestParam(name = "imeinumber") String imeinumber)
|
| 494 |
throws ProfitMandiBusinessException, ClientProtocolException, IOException {
|
494 |
throws ProfitMandiBusinessException, ClientProtocolException, IOException {
|
| 495 |
LocalDateTime settingsLastUpdated = LocalDateTime.ofEpochSecond(timestamp, 0, ZoneOffset.ofHoursMinutes(5, 30));
|
495 |
LocalDateTime settingsLastUpdated = LocalDateTime.ofEpochSecond(timestamp, 0, ZoneOffset.ofHoursMinutes(5, 30));
|
| 496 |
List<MobileAppSetting> mobileAppSettings = mobileAppSettingsRepository.getSettingAftera(settingsLastUpdated);
|
496 |
List<MobileAppSetting> mobileAppSettings = mobileAppSettingsRepository.getSettingAftera(settingsLastUpdated);
|