Skip to content

Commit bc938dd

Browse files
authored
Update TopicController.java
1 parent c3a50a0 commit bc938dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/fc/controller/TopicController.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ public String listTopic(Model model){
3131
return "topic";
3232
}
3333

34+
@RequestMapping("/listImage.do")
35+
public String listImage(Model model){
36+
List<String> imageList = topicService.listImage();
37+
model.addAttribute("imageList",imageList);
38+
return "image";
39+
}
3440
}
3541

3642

0 commit comments

Comments
 (0)