feat: 모바일 페이지 조회 반영

dev
gitea-관리자 1 year ago
parent 841c08dc48
commit 489ae91d8b

@ -15,14 +15,13 @@ import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
* <pre>
* description : API Controller
*
* - mens-web
* packageName : kr.xit.biz.mbl.web
* fileName : MobilePageController
* author : limju
@ -42,9 +41,13 @@ public class MobilePageController {
private final IMobilePageService service;
/**
* <pre>
*
* @param reqDTO
* - mens-web : {@code EnsMobileApiClientController.findKkoMyDocReadyAndMblPage}
* <a href="http://localhost:8080/api/web/mbl/v1/kko/mblPage.do">kakao mobile page</a>
* @param reqDTO OneTimeToken
* @return IApiResponse String return
* </pre>
*/
@Operation(summary = "카카오 모바일 데이타 요청(모바일 페이지에서 호출)", description = "카카오 모바일 데이타 요청(모바일 페이지에서 호출)")
@PostMapping(value = "/kko/mblPage", produces = MediaType.APPLICATION_JSON_VALUE)
@ -60,20 +63,26 @@ public class MobilePageController {
* -> callback url ? token=...
* - (BC-AG-SN-008) API call
* - (BC-AG-SN-009) API call
*
* - mens-web : {@code EnsMobileApiClientController.findKtMblPage}
* <a href="http://localhost:8080/api/web/mbl/v1/kt/dpMblPage.do?token=">KT DP mobile page</a>
* - mens-web : {@code EnsMobileApiClientController.findKtMblPage}
* <a href="http://localhost:8080/api/web/mbl/v1/kt/meMblPage.do?token=">KT ME mobile page</a>
*
* @param token OTT token
* @param request HttpServletRequest
* @return IApiResponse String return
* </pre>
*/
@Operation(summary = "KT 모바일 데이타 요청(모바일 페이지에서 호출)", description = "KT 모바일 데이타 요청(모바일 페이지에서 호출)")
// @PostMapping(
// value = {"/kt/dp_mblPage", "/kt/me_mblPage"},
// produces = MediaType.APPLICATION_JSON_VALUE)
@RequestMapping(
method = {RequestMethod.GET, RequestMethod.POST},
@PostMapping(
value = {"/kt/dpMblPage", "/kt/meMblPage"},
produces = MediaType.APPLICATION_JSON_VALUE)
public IApiResponse cfmTokenDp(@RequestParam final String token, final HttpServletRequest request) {
// @RequestMapping(
// method = {RequestMethod.GET, RequestMethod.POST},
// value = {"/kt/dpMblPage", "/kt/meMblPage"},
// produces = MediaType.APPLICATION_JSON_VALUE)
public IApiResponse findKtMblPage(@RequestParam final String token, final HttpServletRequest request) {
final String uri = request.getRequestURI();
final KtTokenDTO.KtTokenConfirmRequest cfmReqDTO = KtTokenDTO.KtTokenConfirmRequest.builder()
.signguCode(SignguCode.TRAFFIC.getCode())

Loading…
Cancel
Save