Merge branch 'master' into 5180_요금사용내역_및_결제내역
@5966ff97f0136c41d9b866f6e8daa792a20479ee
--- src/main/java/itn/let/mjo/test/web/TestController.java
+++ src/main/java/itn/let/mjo/test/web/TestController.java
... | ... | @@ -42,6 +42,7 @@ |
| 42 | 42 |
import org.springframework.http.MediaType; |
| 43 | 43 |
import org.springframework.http.ResponseEntity; |
| 44 | 44 |
import org.springframework.stereotype.Controller; |
| 45 |
+import org.springframework.ui.Model; |
|
| 45 | 46 |
import org.springframework.ui.ModelMap; |
| 46 | 47 |
import org.springframework.util.LinkedMultiValueMap; |
| 47 | 48 |
import org.springframework.util.MultiValueMap; |
... | ... | @@ -3501,5 +3502,40 @@ |
| 3501 | 3502 |
|
| 3502 | 3503 |
} |
| 3503 | 3504 |
|
| 3505 |
+ |
|
| 3506 |
+ @RequestMapping("/uss/ion/test/callNicepay.do")
|
|
| 3507 |
+ public String callNicepay(Model model) {
|
|
| 3508 |
+ String url = "https://dev.nicepay.co.kr/webapi/sslConnectionTest.jsp"; |
|
| 3509 |
+ String mid = "itn180208m"; // 실제 MID 값으로 변경 |
|
| 3510 |
+ |
|
| 3511 |
+ try {
|
|
| 3512 |
+ // RestTemplate 사용 |
|
| 3513 |
+ RestTemplate restTemplate = new RestTemplate(); |
|
| 3514 |
+ |
|
| 3515 |
+ // 헤더 설정 |
|
| 3516 |
+ HttpHeaders headers = new HttpHeaders(); |
|
| 3517 |
+ headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED); |
|
| 3518 |
+ |
|
| 3519 |
+ // 파라미터 설정 |
|
| 3520 |
+ MultiValueMap<String, String> params = new LinkedMultiValueMap<>(); |
|
| 3521 |
+ params.add("MID", mid);
|
|
| 3522 |
+ |
|
| 3523 |
+ HttpEntity<MultiValueMap<String, String>> request = new HttpEntity<>(params, headers); |
|
| 3524 |
+ |
|
| 3525 |
+ // POST 요청 |
|
| 3526 |
+ ResponseEntity<String> response = restTemplate.postForEntity(url, request, String.class); |
|
| 3527 |
+ |
|
| 3528 |
+ // JSP에 전달 |
|
| 3529 |
+ model.addAttribute("result", response.getBody());
|
|
| 3530 |
+ model.addAttribute("url", url);
|
|
| 3531 |
+ model.addAttribute("mid", mid);
|
|
| 3532 |
+ |
|
| 3533 |
+ } catch (Exception e) {
|
|
| 3534 |
+ model.addAttribute("result", "에러 발생: " + e.getMessage());
|
|
| 3535 |
+ } |
|
| 3536 |
+ |
|
| 3537 |
+ return "uss/ion/test/TestNicePaySSL"; // nicepayResult.jsp로 이동 |
|
| 3538 |
+ } |
|
| 3539 |
+ |
|
| 3504 | 3540 |
|
| 3505 | 3541 |
} |
+++ src/main/webapp/WEB-INF/jsp/uss/ion/test/TestNicePaySSL.jsp
... | ... | @@ -0,0 +1,57 @@ |
| 1 | +<%@ page contentType="text/html; charset=utf-8"%> | |
| 2 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 5 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | + | |
| 7 | + | |
| 8 | +<html lang="ko"> | |
| 9 | +<head> | |
| 10 | +<title>세금계산서 관리</title> | |
| 11 | +<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 12 | +</head> | |
| 13 | +<body> | |
| 14 | + <div class="contWrap"> | |
| 15 | + <div class="pageTitle"> | |
| 16 | + <div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div> | |
| 17 | + <h2 class="titType1 c_222222 fwBold">Nicepay SSL 호출 결과</h2> | |
| 18 | + <p class="tType6 c_999999">Nicepay SSL 호출 결과</p> | |
| 19 | + </div> | |
| 20 | + <div class="pageCont"> | |
| 21 | + <!-- 세금계산서 --> | |
| 22 | + <div class="tableWrap"> | |
| 23 | + <table class="tbType1"> | |
| 24 | + <colgroup> | |
| 25 | + <col style="width: 40%"> | |
| 26 | + <col style="width: 20%"> | |
| 27 | + <col style="width: 40%"> | |
| 28 | + </colgroup> | |
| 29 | + <thead> | |
| 30 | + <tr> | |
| 31 | + <th>url</th> | |
| 32 | + <th>mid</th> | |
| 33 | + <th>결과</th> | |
| 34 | + </tr> | |
| 35 | + </thead> | |
| 36 | + <tbody> | |
| 37 | + <tr> | |
| 38 | + <td> | |
| 39 | + ${url} | |
| 40 | + </td> | |
| 41 | + <td> | |
| 42 | + ${mid} | |
| 43 | + </td> | |
| 44 | + <td> | |
| 45 | + ${result} | |
| 46 | + </td> | |
| 47 | + </tr> | |
| 48 | + </tbody> | |
| 49 | + </table> | |
| 50 | + </div> | |
| 51 | + <div class="btnWrap"> | |
| 52 | + </div> | |
| 53 | + </div> | |
| 54 | + </div> | |
| 55 | + | |
| 56 | +</body> | |
| 57 | +</html>(No newline at end of file) |
--- src/main/webapp/publish/css/common.css
+++ src/main/webapp/publish/css/common.css
... | ... | @@ -133,7 +133,7 @@ |
| 133 | 133 |
.login2 .check_money .hover_content_wrap{display:inline-block;position:relative;}
|
| 134 | 134 |
.login2 .check_money .hover_content_wrap .qmMark{width:17px;height:17px;margin:0 4px 0 0;background:#6a6c72;border-radius:100%;color:#fff;text-align:center;}
|
| 135 | 135 |
.login2 .check_money .hover_content_wrap .qmMark:hover+.hover_content{display:block;}
|
| 136 |
-.login2 .check_money .hover_content{display:none;position:absolute;padding:12px 10px 8px 10px;border:2px solid #002c9a;background:#fff;box-shadow: 0 3px 10px 0 rgba(0,0,0,0.5);transform:translateX(-50%);border-radius:5px;top:34px;left:8px;}
|
|
| 136 |
+.login2 .check_money .hover_content{display:none;position:absolute;padding:12px 12px 8px 12px;border:2px solid #002c9a;background:#fff;box-shadow: 0 3px 10px 0 rgba(0,0,0,0.5);transform:translateX(-50%);border-radius:5px;top:34px;left:8px;}
|
|
| 137 | 137 |
.login2 .check_money .hover_content::after{content:'';position:absolute;left:50%;top:-10px;width:16px;height:10px;margin:0 0 0 -8px;background:url(../images/content/icon_account_arrow.png) no-repeat left top;}
|
| 138 | 138 |
.login2 .check_money .hover_content .hover_content_title{font-size:14px;font-weight:600;margin:0 0 10px 0;}
|
| 139 | 139 |
.login2 .check_money .hover_content .hover_content_title span{padding:0;font-size:13px;font-weight:400;}
|
... | ... | @@ -142,7 +142,9 @@ |
| 142 | 142 |
.login2 .check_money .hover_content .send_available_number li{display:flex;justify-content:space-between;font-size:13px;}
|
| 143 | 143 |
.login2 .check_money .hover_content .title{min-width:70px;}
|
| 144 | 144 |
.login2 .check_money .hover_content .number{text-align:right;padding:0;}
|
| 145 |
-.login2 .check_money .hover_content .event_term{width:100%;padding:2px 0;margin:8px 0 0 0;background:#e5e5e5;font-size:13px;color:#444;text-align:center;border-radius:25px;}
|
|
| 145 |
+.login2 .check_money .hover_content .event_term{display:flex;width:100%;padding:4px 5px 4px 7px;margin:8px 0 0 0;background:#FFE5E5;font-size:13px;color:#e40000;text-align:center;border-radius:25px;justify-content:space-between;box-sizing:border-box;}
|
|
| 146 |
+.login2 .check_money .hover_content .event_term p:last-child{color:#222;}
|
|
| 147 |
+.login2 .check_money .hover_content .event_term p:last-child span{color:#e40000;}
|
|
| 146 | 148 |
|
| 147 | 149 |
/*후불 회원에게만 노출되는 안내레이어*/ |
| 148 | 150 |
.login2 .check_money .holdingsum_box {position: relative; display:flex; align-items: center;}
|
--- src/main/webapp/publish/css/popupLayer.css
+++ src/main/webapp/publish/css/popupLayer.css
... | ... | @@ -1050,6 +1050,8 @@ |
| 1050 | 1050 |
.template_choice_popup .kakao_template_list{display:flex;flex-wrap:wrap;gap:30px 16px;margin:20px 0;}
|
| 1051 | 1051 |
/* .template_choice_popup .kakao_template_list li{position: relative; display: inline-block; width: calc((100% - 80px)/3); border-radius: 25px; box-shadow: inset 0 0px 8px rgba(0,0,0,0.2); padding: 8px 8px 16px 8px; margin: 0 11px 40px 0;} */
|
| 1052 | 1052 |
.template_choice_popup .kakao_template_list li{position: relative; display: inline-block; width: calc((100% - 80px)/3); border-radius: 25px; box-shadow: inset 0 0px 8px rgba(0,0,0,0.2); padding: 8px 8px 16px 8px;}
|
| 1053 |
+.template_choice_popup .kakao_template_list li.template_none{width:100%;text-align:center;box-shadow:none;}
|
|
| 1054 |
+.template_choice_popup .kakao_template_list li.template_none::after{display:none;}
|
|
| 1053 | 1055 |
.template_choice_popup .kakao_template_list li:nth-child(3n){margin: 0 0 0 0;}
|
| 1054 | 1056 |
.template_choice_popup .kakao_template_list li::after{position: absolute; content: " "; width: 100%; height: 18px; background: url(/publish/images/kakao_template_cont.png) no-repeat top center; top: 8px;}
|
| 1055 | 1057 |
.template_choice_popup .kakao_template_list .kakao_template_wrap{width: 100%; height: 370px; padding: 30px 0 15px 0; border-radius: 22px 22px 0 0; box-shadow: inset 0 2px 8px rgba(0,0,0,0.2); background: #b6cddd; overflow-y: auto; box-sizing: border-box;}
|
--- src/main/webapp/publish/kakao_friendtalk_send.html
+++ src/main/webapp/publish/kakao_friendtalk_send.html
... | ... | @@ -785,6 +785,7 @@ |
| 785 | 785 |
<textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea> |
| 786 | 786 |
|
| 787 | 787 |
<div class="text_length"> |
| 788 |
+ <div class="deny_txt"><p>무료거부 0808800858</p> </div> |
|
| 788 | 789 |
<div name="afterDeny"> |
| 789 | 790 |
<p> |
| 790 | 791 |
<span class="fwMd" id="msgLeng">0 / |
... | ... | @@ -820,6 +821,7 @@ |
| 820 | 821 |
</div> |
| 821 | 822 |
<textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea> |
| 822 | 823 |
<div class="text_length"> |
| 824 |
+ <div class="deny_txt"><p>무료거부 0808800858</p> </div> |
|
| 823 | 825 |
<div name="afterDeny"> |
| 824 | 826 |
<p> |
| 825 | 827 |
<span class="fwMd" id="msgLeng">0 / |
... | ... | @@ -877,6 +879,7 @@ |
| 877 | 879 |
</div> |
| 878 | 880 |
<textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea> |
| 879 | 881 |
<div class="text_length"> |
| 882 |
+ <div class="deny_txt"><p>무료거부 0808800858</p> </div> |
|
| 880 | 883 |
<div name="afterDeny"> |
| 881 | 884 |
<p> |
| 882 | 885 |
<span class="fwMd" id="msgLeng">0 / |
--- src/main/webapp/publish/layout/_header.html
+++ src/main/webapp/publish/layout/_header.html
... | ... | @@ -370,7 +370,7 @@ |
| 370 | 370 |
<p class="number"><span class="c_002c9a fwBold">58</span>원(345매)</p> |
| 371 | 371 |
</li> |
| 372 | 372 |
</ul> |
| 373 |
- <p class="event_term">이벤트 적용중 <span class="fwBold">D-60</span></p> |
|
| 373 |
+ <div class="event_term"><p>이벤트<span class="fwBold">(D-60)</span></p><p><span class="fwBold price">500,000.99</span>원</p></div> |
|
| 374 | 374 |
</div> |
| 375 | 375 |
</div> |
| 376 | 376 |
<span class="fwMd" id="hdUserMoney">999,999,999.99</span>원 |
--- src/main/webapp/publish/popup_friendtalk_template_choice.html
+++ src/main/webapp/publish/popup_friendtalk_template_choice.html
... | ... | @@ -42,6 +42,7 @@ |
| 42 | 42 |
</div> |
| 43 | 43 |
<div class="template_list"> |
| 44 | 44 |
<ul class="kakao_template_list thumbnail_list"> |
| 45 |
+ <li class="template_none">등록된 템플릿이 없습니다.</li> |
|
| 45 | 46 |
<li> |
| 46 | 47 |
<div class="kakao_template_wrap"> |
| 47 | 48 |
<div class="template_cont"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?