Ver Fonte

이미지경로 수정

bin2107 há 5 anos atrás
pai
commit
91d47809b0

+ 3 - 3
src/main/webapp/WEB-INF/views/display/GoodsDispOrdChangePopupForm.html

@@ -80,7 +80,7 @@
 <script type="text/javascript" src="/ux/plugins/gaga/gaga.paging.js?v=2019072202"></script>
 <script th:inline="javascript">
 	var params = [[${params}]];
-	var uploadGoodsUrl = "image.istyle24.com/Upload/ProductImage";//[[${@environment.getProperty('upload.goods.view')}]];
+	var uploadGoodsUrl = [[${@environment.getProperty('upload.goods.view')}]];
 
 	$("#btnSearch").on('click', function(){
 		$("#goodsDispOrdChangeForm input[name=searchGb]").val("BASIC");
@@ -116,9 +116,9 @@
 				html += '">';
 				html += '<li class="img">';
 				var imgPath = '';
-				if(resultList[i].imgType=='A'){
+				//if(resultList[i].imgType=='A'){
 					imgPath = uploadGoodsUrl;
-				}
+				//}
 				html += '<img src="'+imgPath+ "/" +resultList[i].imgPath1+'" onerror="this.src=\'/image/no.gif\';"/>';
 				html += '<div class="btnArea">';
 				html += '<button type="button" class="icnSm" title="맨위로" onclick="fnUpdownBtn(\''+resultList[i].goodsCd+'\', \''+resultList[i].dispOrd+'\', \'up\');"><i class="fa fa-play-circle fa-rotate-270" aria-hidden="true"></i></button>';