JIWOO 2025-07-30
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
+++ src/main/java/itn/let/mjo/test/web/TestController.java
@@ -42,6 +42,7 @@
 import org.springframework.http.MediaType;
 import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Controller;
+import org.springframework.ui.Model;
 import org.springframework.ui.ModelMap;
 import org.springframework.util.LinkedMultiValueMap;
 import org.springframework.util.MultiValueMap;
@@ -3501,5 +3502,40 @@
 		
 	}
 	
+	
+	@RequestMapping("/uss/ion/test/callNicepay.do")
+    public String callNicepay(Model model) {
+        String url = "https://dev.nicepay.co.kr/webapi/sslConnectionTest.jsp";
+        String mid = "itn180208m"; // 실제 MID 값으로 변경
+        
+        try {
+            // RestTemplate 사용
+            RestTemplate restTemplate = new RestTemplate();
+            
+            // 헤더 설정
+            HttpHeaders headers = new HttpHeaders();
+            headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
+            
+            // 파라미터 설정
+            MultiValueMap<String, String> params = new LinkedMultiValueMap<>();
+            params.add("MID", mid);
+
+            HttpEntity<MultiValueMap<String, String>> request = new HttpEntity<>(params, headers);
+
+            // POST 요청
+            ResponseEntity<String> response = restTemplate.postForEntity(url, request, String.class);
+
+            // JSP에 전달
+            model.addAttribute("result", response.getBody());
+            model.addAttribute("url", url);
+            model.addAttribute("mid", mid);
+
+        } catch (Exception e) {
+            model.addAttribute("result", "에러 발생: " + e.getMessage());
+        }
+
+        return "uss/ion/test/TestNicePaySSL"; // nicepayResult.jsp로 이동
+    }
+	
 
 }
 
src/main/webapp/WEB-INF/jsp/uss/ion/test/TestNicePaySSL.jsp (added)
+++ src/main/webapp/WEB-INF/jsp/uss/ion/test/TestNicePaySSL.jsp
@@ -0,0 +1,57 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
+
+
+<html lang="ko">
+<head>
+<title>세금계산서 관리</title>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+</head>
+<body>
+	<div class="contWrap">
+		<div class="pageTitle">
+			<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
+			<h2 class="titType1 c_222222 fwBold">Nicepay SSL 호출 결과</h2>
+			<p class="tType6 c_999999">Nicepay SSL 호출 결과</p>
+		</div>
+		<div class="pageCont">
+			<!-- 세금계산서 -->
+			<div class="tableWrap">
+				<table class="tbType1">
+					<colgroup>
+						<col style="width: 40%">
+						<col style="width: 20%">
+						<col style="width: 40%">
+					</colgroup>
+					<thead>
+						<tr>
+							<th>url</th>
+							<th>mid</th>
+							<th>결과</th>
+						</tr>
+					</thead>
+					<tbody>
+						<tr>
+							<td>
+								${url}
+							</td>
+							<td>
+								${mid}
+							</td>
+							<td>
+								${result}
+							</td>							
+						</tr>
+					</tbody>
+				</table>
+			</div>
+			<div class="btnWrap">
+			</div>
+		</div>
+	</div>
+
+</body>
+</html>(No newline at end of file)
src/main/webapp/publish/css/common.css
--- src/main/webapp/publish/css/common.css
+++ src/main/webapp/publish/css/common.css
@@ -133,7 +133,7 @@
 .login2 .check_money .hover_content_wrap{display:inline-block;position:relative;}
 .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;}
 .login2 .check_money .hover_content_wrap .qmMark:hover+.hover_content{display:block;}
-.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;}
+.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;}
 .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;}
 .login2 .check_money .hover_content .hover_content_title{font-size:14px;font-weight:600;margin:0 0 10px 0;}
 .login2 .check_money .hover_content .hover_content_title span{padding:0;font-size:13px;font-weight:400;}
@@ -142,7 +142,9 @@
 .login2 .check_money .hover_content .send_available_number li{display:flex;justify-content:space-between;font-size:13px;}
 .login2 .check_money .hover_content .title{min-width:70px;}
 .login2 .check_money .hover_content .number{text-align:right;padding:0;}
-.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;}
+.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;}
+.login2 .check_money .hover_content .event_term p:last-child{color:#222;}
+.login2 .check_money .hover_content .event_term p:last-child span{color:#e40000;}
 
 /*후불 회원에게만 노출되는 안내레이어*/
 .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
+++ src/main/webapp/publish/css/popupLayer.css
@@ -1050,6 +1050,8 @@
 .template_choice_popup .kakao_template_list{display:flex;flex-wrap:wrap;gap:30px 16px;margin:20px 0;}
 /* .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;} */
 .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;}
+.template_choice_popup .kakao_template_list li.template_none{width:100%;text-align:center;box-shadow:none;}
+.template_choice_popup .kakao_template_list li.template_none::after{display:none;}
 .template_choice_popup .kakao_template_list li:nth-child(3n){margin: 0 0 0 0;}
 .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;}
 .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
+++ src/main/webapp/publish/kakao_friendtalk_send.html
@@ -785,6 +785,7 @@
                                                                         <textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea>
                                                                         
                                                                         <div class="text_length">
+                                                                        	<div class="deny_txt"><p>무료거부 0808800858</p> </div>
                                                                             <div name="afterDeny">
                                                                                 <p>
                                                                                     <span class="fwMd" id="msgLeng">0 /
@@ -820,6 +821,7 @@
 																		</div>
                                                                         <textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea>
                                                                         <div class="text_length">
+                                                                        	<div class="deny_txt"><p>무료거부 0808800858</p> </div>
                                                                             <div name="afterDeny">
                                                                                 <p>
                                                                                     <span class="fwMd" id="msgLeng">0 /
@@ -877,6 +879,7 @@
 																		</div>
                                                                         <textarea id="smsTxtArea" name="smsTxtArea" class="put_text"></textarea>
                                                                         <div class="text_length">
+                                                                        	<div class="deny_txt"><p>무료거부 0808800858</p> </div>
                                                                             <div name="afterDeny">
                                                                                 <p>
                                                                                     <span class="fwMd" id="msgLeng">0 /
src/main/webapp/publish/layout/_header.html
--- src/main/webapp/publish/layout/_header.html
+++ src/main/webapp/publish/layout/_header.html
@@ -370,7 +370,7 @@
                         <p class="number"><span class="c_002c9a fwBold">58</span>원(345매)</p>
                       </li>
                     </ul>
-                    <p class="event_term">이벤트 적용중  <span class="fwBold">D-60</span></p>
+                    <div class="event_term"><p>이벤트<span class="fwBold">(D-60)</span></p><p><span class="fwBold price">500,000.99</span>원</p></div>
                   </div>
                 </div>
                 <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
+++ src/main/webapp/publish/popup_friendtalk_template_choice.html
@@ -42,6 +42,7 @@
             </div>
             <div class="template_list">
                 <ul class="kakao_template_list thumbnail_list">
+                	<li class="template_none">등록된 템플릿이 없습니다.</li>
                     <li>
                         <div class="kakao_template_wrap">
                             <div class="template_cont">
Add a comment
List