xiebaomin hai 1 ano
pai
achega
1c7c1f129c

+ 1 - 1
src/main/resources/templates/article/components/article-drawer.html

@@ -68,7 +68,7 @@
             </a>
           </div>
           <div>
-            <a th:text="${file.fileName}" target="_blank" href="javascript:void(0)" th:onclick="handleFileUrl([[${file.ossUrl}]])"></a>
+            <a th:text="${file.fileName}" target="_blank" href="javascript:void(0)" th:onclick="handleFileUrl([[${file.productId}]])"></a>
           </div>
         </div>
       </div>

+ 1 - 1
src/main/resources/templates/article/components/article-sidebar.html

@@ -65,7 +65,7 @@
                 </a>
             </div>
             <div class="new-blurb xiao">
-                <a target="_blank" href="javascript:void(0);" th:onclick="handleFileUrl([[${file.ossUrl}]])">
+                <a target="_blank" href="javascript:void(0);" th:onclick="handleFileUrl([[${file.productId}]])">
                     <p class="shuoming" th:text="${file.fileName}"></p>
                 </a>
             </div>