class PageBuyerController {

    /**
     * 页面管理
     */
    @Autowired
    private PageDataService pageService;

    @ApiOperation(value = "获取首页数据")
    @GetMapping("/getIndex")
    public ResultMessage<PageDataVO> getIndex(@RequestParam String clientType) {
        PageDataDTO pageDataDTO = new PageDataDTO(PageEnum.INDEX.name());
        pageDataDTO.setPageClientType(clientType);
        PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
        return ResultUtil.data(pageDataVO);
    }

    @ApiOperation(value = "获取页面数据")
    @GetMapping
    public ResultMessage<PageDataVO> get(PageDataDTO pageDataDTO) {
        PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
        return ResultUtil.data(pageDataVO);
    }

    @ApiOperation(value = "获取店铺首页")
    @GetMapping("/getStore")
    public ResultMessage<PageDataVO> getShopPage(@RequestParam String clientType,String storeId) {
        PageDataDTO pageDataDTO = new PageDataDTO(PageEnum.STORE.name());
        pageDataDTO.setPageClientType(clientType);
        pageDataDTO.setNum(storeId);
        PageDataVO pageDataVO=pageService.getPageData(pageDataDTO);
        return ResultUtil.data(pageDataVO);
    }

    @ApiOperation(value = "获取页面数据")
    @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "String", paramType = "path")
    @GetMapping("/get/{id}")
    public ResultMessage<PageData> getPage(@PathVariable("id") String id) {
        return ResultUtil.data(pageService.getSpecial(id));
    }

    @ApiOperation(value = "获取专题页面数据（根据消息内容得知）")
    @GetMapping("/getSpecial")
    public ResultMessage<PageData> getSpecial(@RequestParam String body) {<FILL_FUNCTION_BODY>}
}

        String name = "";
        if (body.indexOf("』") >= 0 && body.indexOf("『") >= 0) {
            name = body.substring(body.indexOf("『") + 1, body.lastIndexOf("』"));
        } else if (body.indexOf("〉") >= 0 && body.indexOf("〈") >= 0) {
            name = body.substring(body.indexOf("〈") + 1, body.lastIndexOf("〉"));
        } else if (body.indexOf("」") >= 0 && body.indexOf("「") >= 0) {
            name = body.substring(body.indexOf("「") + 1, body.lastIndexOf("」"));
        } else if (body.indexOf("》") >= 0 && body.indexOf("《") >= 0) {
            name = body.substring(body.indexOf("《") + 1, body.lastIndexOf("》"));
        } else if (body.indexOf("）") >= 0 && body.indexOf("（") >= 0) {
            name = body.substring(body.indexOf("（") + 1, body.lastIndexOf("）"));
        } else if (body.indexOf("】") >= 0 && body.indexOf("【") >= 0) {
            name = body.substring(body.indexOf("【") + 1, body.lastIndexOf("】"));
        } else if (body.indexOf("｝") >= 0 && body.indexOf("｛") >= 0) {
            name = body.substring(body.indexOf("｛") + 1, body.lastIndexOf("｝"));
        } else if (body.indexOf("！") >= 0) {
            name = body.substring(body.indexOf("！") + 1, body.lastIndexOf("！"));
        } else if (body.indexOf("｜") >= 0) {
            name = body.substring(body.indexOf("｜") + 1, body.lastIndexOf("｜"));
        }

        PageData pageData = pageService.getOne(
                new LambdaQueryWrapper<PageData>()
                        .eq(PageData::getPageType, PageEnum.SPECIAL.name())
                        .eq(PageData::getName, name));
        return ResultUtil.data(pageData);

    
<no_super_class>