package cokr.xit.ens.modules.ktsigntalk.gibis.presentation;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

@Tag(name = "KtGibisToEnsController")
@Slf4j
@RequiredArgsConstructor
@Controller
public class KtGibisToEnsController {

    @Operation(summary = "메시지 발송/수신결과 전송")
    @PostMapping(value = "/api/msg/result", produces = MediaType.APPLICATION_JSON_VALUE)
    public String apiMsgResult() {
        String url = "/kt/gibis/stat/bulk";
        return "forward:" + url;
    }
}
