간편결제 설정 및 하드코딩 제거

This commit is contained in:
itn 2023-07-14 14:21:56 +09:00
parent c0d32862a1
commit 72c2605d63
8 changed files with 10 additions and 18 deletions

View File

@ -543,7 +543,7 @@ public class AddrBlockController {
//전송사 구분 코드 - 01 : 아이하트, 02 : 현대 퓨쳐넷, 03 : 아이엠오 //전송사 구분 코드 - 01 : 아이하트, 02 : 현대 퓨쳐넷, 03 : 아이엠오
//mjonMsgVO.setAgentCode("01"); //mjonMsgVO.setAgentCode("01");
// 하드코딩
//sendAgent = "02"; //sendAgent = "02";
mjonMsgVO.setAgentCode(sendAgent); mjonMsgVO.setAgentCode(sendAgent);

View File

@ -76,11 +76,6 @@ public class MjonEventPayV2Controller {
return "redirect:/web/user/login/login.do"; return "redirect:/web/user/login/login.do";
} }
// 하드코딩
if(!userId.equals("nobledeco") && !userId.equals("nobledeco2") && !userId.equals("nopay")) {
return "redirect:/web/main/mainPage.do";
}
//기존 결제 내역이 있는 회원인지 확인 //기존 결제 내역이 있는 회원인지 확인
int payCnt = 0; int payCnt = 0;
if(StringUtil.isNotEmpty(userId)) { if(StringUtil.isNotEmpty(userId)) {

View File

@ -1660,7 +1660,6 @@ public class MjonPayController {
float picturePrice2 = 0; // 그림문자(MMS) 2장 float picturePrice2 = 0; // 그림문자(MMS) 2장
float picturePrice3 = 0; // 그림문자(MMS) 3장 float picturePrice3 = 0; // 그림문자(MMS) 3장
// 하드코딩 => 그림문자 2장, 3장 금액은 30원씩 플러스
shortPrice = sysJoinSetVO.getShortPrice(); shortPrice = sysJoinSetVO.getShortPrice();
longPrice = sysJoinSetVO.getLongPrice(); longPrice = sysJoinSetVO.getLongPrice();
picturePrice = sysJoinSetVO.getPicturePrice(); picturePrice = sysJoinSetVO.getPicturePrice();

View File

@ -119,11 +119,10 @@ public class MjonPayV2Controller {
return "redirect:/web/user/login/login.do"; return "redirect:/web/user/login/login.do";
} }
// 하드코딩
// Itm Member Id Check // Itm Member Id Check
if(!getItnMemberId(userId)) { //if(!getItnMemberId(userId)) {
return "redirect:/web/main/mainPage.do"; // return "redirect:/web/main/mainPage.do";
} //}
MberManageVO mberManageVO = mberManageService.selectMber(loginVO.getId()); MberManageVO mberManageVO = mberManageService.selectMber(loginVO.getId());
model.addAttribute("mberManageVO", mberManageVO); model.addAttribute("mberManageVO", mberManageVO);

View File

@ -991,7 +991,6 @@ function SetBlockResultMode(obj, blockId) {
function SetBlockResultSave() { function SetBlockResultSave() {
//alert(globalBlockId); //alert(globalBlockId);
// 하드코딩
//alert("준비중입니다."); //alert("준비중입니다.");
//return; //return;

View File

@ -60,8 +60,8 @@ function goClose() {
<p><c:out value='${Resultmsg}'/></p> <p><c:out value='${Resultmsg}'/></p>
</div> </div>
<div class="popup_btn" style="margin: 30px auto 0 auto;"> <div class="popup_btn" style="margin: 30px auto 0 auto;">
<%--<button type="button" onclick="goPayList();">요금결제내역 보기</button>--%> <button type="button" onclick="goPayList();">요금결제내역 보기</button>
<button type="button" onclick="goClose();">닫기</button> <button type="button" onclick="goPayList();">닫기</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -60,8 +60,8 @@ function goClose() {
<p><c:out value='${Resultmsg}'/></p> <p><c:out value='${Resultmsg}'/></p>
</div> </div>
<div class="popup_btn" style="margin: 30px auto 0 auto;"> <div class="popup_btn" style="margin: 30px auto 0 auto;">
<%--<button type="button" onclick="goPayList();">요금결제내역 보기</button>--%> <button type="button" onclick="goPayList();">요금결제내역 보기</button>
<button type="button" onclick="goClose();">닫기</button> <button type="button" onclick="goPayList();">닫기</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -60,8 +60,8 @@ function goClose() {
<p><c:out value='${Resultmsg}'/></p> <p><c:out value='${Resultmsg}'/></p>
</div> </div>
<div class="popup_btn" style="margin: 30px auto 0 auto;"> <div class="popup_btn" style="margin: 30px auto 0 auto;">
<%--<button type="button" onclick="goPayList();">요금결제내역 보기</button>--%> <button type="button" onclick="goPayList();">요금결제내역 보기</button>
<button type="button" onclick="goClose();">닫기</button> <button type="button" onclick="goPayList();">닫기</button>
</div> </div>
</div> </div>
</div> </div>