Browse Source

主要是一些备注

master
ssl 2 years ago
parent
commit
8924ed49e7
  1. 1
      vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java

1
vote/src/main/java/com/votesystem/ssl/controller/user/CandidateController.java

@ -130,6 +130,7 @@ public class CandidateController {
try { try {
file.transferTo(f); file.transferTo(f);
String imgURL = "http://localhost:8443/api/file/" + f.getName(); String imgURL = "http://localhost:8443/api/file/" + f.getName();
// String imgURL = "http://localhost:8080/images/" + f.getName();
return imgURL; return imgURL;
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();

Loading…
Cancel
Save