From 847d2b0bfde10a27a6dc1638a1cac54c893b72e3 Mon Sep 17 00:00:00 2001 From: xiaodong Date: Thu, 10 Sep 2026 14:28:14 +0800 Subject: [PATCH] debug --- public/themes/website/1/zh/demo/download.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/themes/website/1/zh/demo/download.html b/public/themes/website/1/zh/demo/download.html index 72f4a02..860308b 100755 --- a/public/themes/website/1/zh/demo/download.html +++ b/public/themes/website/1/zh/demo/download.html @@ -119,9 +119,9 @@
{hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo" sort="sort desc"} {php} - // $dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? ''); - $pdf_resource_download = $vo['main_content']['resource_download'][0] ?? ''; - $dl_file = $pdf_resource_download; + $dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? ''); + // $pdf_resource_download = $vo['main_content']['resource_download'][0] ?? ''; + // $dl_file = $pdf_resource_download; $has_dl = $dl_file !== ''; {/php}