刘帅
2026-09-29 b55cd9aad0835a96a790e61f9f89edc2fae1be9f
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());
@@ -166,6 +166,9 @@
            operatorId = storeService.list(new QueryWrapper<TStore>()
                    .eq("operatorId", UserExt.getUser().getObjectId()))
                    .stream().map(TStore::getId).collect(Collectors.toList());
            if (operatorId.isEmpty()){
                operatorId.add(0);
            }
        }
        if (UserExt.getUser().getObjectType()==3){
            operatorId.add(UserExt.getUser().getObjectId());