class CancelController {

    @CrossOrigin(origins = "*")
    @GetMapping(path = "/cancel/{orderId}/{loginId}")
    public HttpEntity cancelTicket(@PathVariable String orderId, @PathVariable String loginId,
                                   @RequestHeader HttpHeaders headers) {

        CancelController.LOGGER.info("[Cancel Order Service][Cancel Ticket] info: {}", orderId);
        try {
            CancelController.LOGGER.info("[Cancel Order Service][Cancel Ticket] Verify Success");
            return ok(cancelService.cancelOrder(orderId, loginId, headers));
        } catch (Exception e) {
            LOGGER.error(e.getMessage());
            return null;
        }
    }

}