Compare commits

..

No commits in common. "79f93d8f1e8903337e5e449f560c3282e4e31b2f" and "4d528f86bc8adcb93c01048f8c739db24c4c9544" have entirely different histories.

View File

@ -5995,7 +5995,17 @@ public class SdmController extends LocaleController<AkunVO> {
body.put("message", "ready");
body.put("time", now);
return ResponseEntity.ok(body);
long latency = System.currentTimeMillis() - startTime;
Map<String, Object> response = new LinkedHashMap<>();
response.put("url", request.getRequestURL().toString());
response.put("status_code", HttpStatus.OK.value());
response.put("is_ok", true);
response.put("latency_ms", latency);
response.put("body", body);
response.put("checked_at", now);
return ResponseEntity.ok(response);
}
}