From 8924ed49e70609048b2edd27a769bbd684de825c Mon Sep 17 00:00:00 2001 From: ssl <1151868461@qq.com> Date: Thu, 11 May 2023 00:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E8=A6=81=E6=98=AF=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/votesystem/ssl/controller/user/CandidateController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java b/vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java index 980c45f..d36c2cb 100644 --- a/vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java +++ b/vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java @@ -130,6 +130,7 @@ public class CandidateController { try { file.transferTo(f); String imgURL = "http://localhost:8443/api/file/" + f.getName(); +// String imgURL = "http://localhost:8080/images/" + f.getName(); return imgURL; } catch (IOException e) { e.printStackTrace();