card007 5 gadi atpakaļ
vecāks
revīzija
46a5eb99f0

+ 2 - 2
src/main/java/com/style24/front/biz/web/TsfOrderController.java

@@ -1469,11 +1469,11 @@ public class TsfOrderController extends TsfBaseController {
 	 * @author card007
 	 * @since 2021. 05. 25
 	 */
-	@RequestMapping("/payment/fail")
+	@RequestMapping(value = "/payment/fail")
 	public ModelAndView paymentFail() {
 		ModelAndView mav = new ModelAndView();
 
-		mav.setViewName(super.getDeviceViewName("error/paymentFail"));
+		mav.setViewName(super.getDeviceViewName("error/PaymentFail"));
 
 		return mav;
 	}

+ 6 - 1
src/main/webapp/WEB-INF/views/mob/error/PaymentFailMob.html

@@ -53,11 +53,16 @@
 				<p>결제 실패 하였습니다.</p>
 			</div>
 			<div class="btn_group">
-				<button class="btn btn_dark" onclick="cfnGoToPage(_PAGE_MAIN);"><span>홈으로 이동</span></button>
+				<button class="btn btn_dark" onclick="fnGoToHome();"><span>홈으로 이동</span></button>
 			</div>
 		</div>
 	</div>
 	<!-- // container -->
 
+<script type="text/javascript">
+	var fnGoToHome = function() {
+		document.location.href = '/';
+	}
+</script>
 </body>
 </html>