|
|
|
@ -4,6 +4,8 @@ import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Content;
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.ExampleObject;
|
|
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants.SignguCode;
|
|
|
|
|
import kr.xit.biz.ens.model.kt.KtCommonDTO.KtCommonResponse;
|
|
|
|
|
import kr.xit.biz.ens.model.kt.KtCommonDTO.KtMnsRequest;
|
|
|
|
|
import kr.xit.biz.ens.model.kt.KtTokenDTO.KtTokenConfirmRequest;
|
|
|
|
@ -115,14 +117,31 @@ public class BizKtMmsController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "토큰인증확인 조회", description = "토큰인증확인조회요청(BC-AG-SN-008)")
|
|
|
|
|
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}, value = "/cfmToken", produces = MediaType.APPLICATION_JSON_VALUE)
|
|
|
|
|
public IApiResponse cfmToken(@RequestBody final KtTokenConfirmRequest reqDTO) {
|
|
|
|
|
//public IApiResponse cfmToken(@RequestBody final Map<String,Object> reqDTO) {
|
|
|
|
|
KtCommonResponse dto = service.cfmToken(reqDTO);
|
|
|
|
|
return ApiResponseDTO.success(dto);
|
|
|
|
|
@Operation(summary = "토큰인증확인 조회(교통시설처)", description = "토큰인증확인조회요청(BC-AG-SN-008)-교통시설처")
|
|
|
|
|
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}, value = "/cfmTokenDp", produces = MediaType.APPLICATION_JSON_VALUE)
|
|
|
|
|
public IApiResponse cfmTokenDp(@RequestBody final String token) {
|
|
|
|
|
String mblData = service.findKtMblData(
|
|
|
|
|
KtTokenConfirmRequest.builder()
|
|
|
|
|
.signguCode(SignguCode.TRAFFIC.getCode())
|
|
|
|
|
.ffnlgCode(ApiConstants.FFNLN_CODE)
|
|
|
|
|
.accessToken(token)
|
|
|
|
|
.build()
|
|
|
|
|
);
|
|
|
|
|
return ApiResponseDTO.success(mblData);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "토큰인증확인 조회(승화원)", description = "토큰인증확인조회요청(BC-AG-SN-008)-승화원")
|
|
|
|
|
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}, value = "/cfmTokenMe", produces = MediaType.APPLICATION_JSON_VALUE)
|
|
|
|
|
public IApiResponse cfmTokenMe(@RequestBody final String token) {
|
|
|
|
|
String mblData = service.findKtMblData(
|
|
|
|
|
KtTokenConfirmRequest.builder()
|
|
|
|
|
.signguCode(SignguCode.FUNERAL.getCode())
|
|
|
|
|
.ffnlgCode(ApiConstants.FFNLN_CODE)
|
|
|
|
|
.accessToken(token)
|
|
|
|
|
.build()
|
|
|
|
|
);
|
|
|
|
|
return ApiResponseDTO.success(mblData);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// /*
|
|
|
|
|