From f17ed3829d22a637d28a4f1c697e5394d39fef5b Mon Sep 17 00:00:00 2001 From: chen-xin-zhi <3588068430@qq.com> Date: Sun, 16 Mar 2025 23:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cultural/heritage/constant/FileConstant.java | 5 ++++- .../heritage/controller/good/FestivalController.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/cultural/heritage/constant/FileConstant.java b/src/main/java/com/cultural/heritage/constant/FileConstant.java index 5467e5b..9e59d29 100644 --- a/src/main/java/com/cultural/heritage/constant/FileConstant.java +++ b/src/main/java/com/cultural/heritage/constant/FileConstant.java @@ -5,6 +5,9 @@ public interface FileConstant { /** * 服务器访问地址 */ - String SERVER_HOST = "http://123.249.108.160:8888/api/file/downloadFile?objectKey="; +// String SERVER_HOST = "http://123.249.108.160:8888/api/file/downloadFile?objectKey="; + + + String SERVER_HOST = "https://www.carboner.cn:8888/api/file/downloadFile?objectKey="; } diff --git a/src/main/java/com/cultural/heritage/controller/good/FestivalController.java b/src/main/java/com/cultural/heritage/controller/good/FestivalController.java index 3cecea7..68daa96 100644 --- a/src/main/java/com/cultural/heritage/controller/good/FestivalController.java +++ b/src/main/java/com/cultural/heritage/controller/good/FestivalController.java @@ -56,7 +56,7 @@ public class FestivalController { /** - * Web端管理员根据节日名称获取图片URL + * Web端管理员根据节日名称获取URL * @param festivalName 节日名称 * @return 当前节日的url */