Compare commits

..

No commits in common. "9197ad56ce0a2cfc5d380aa6dde91df59020b6e7" and "ae1e575d73654b0f8cffdd6523ab89d9c052b987" 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);
}
}