mitao
2025-04-11 0ccd94c863ac71b46bff3cc15feabec53650738f
cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TShopEvaluationController.java
@@ -114,14 +114,14 @@
    }
    @RequestMapping("/tShop_info/{id}")
    public String tCityInfo(@PathVariable("id") Integer id, Model model) {
        System.err.println("進入");
        TEvaluationListVo vo = evaluationService.info(id);
        System.err.println("查詢vo");
        model.addAttribute("item",vo);
        ArrayList<String> strings = new ArrayList<>();
        String imgs = vo.getImgs();
        for (String s : imgs.split(",")) {
            strings.add(s);
        if (!ToolUtil.isEmpty(imgs)){
            for (String s : imgs.split(",")) {
                strings.add(s);
            }
        }
        model.addAttribute("imgs",strings);
        model.addAttribute("name1",vo.getPName());