wl
2022-11-09 5bd262c6dd347faf395d9c712ba7583d9ad5ef61
ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java
@@ -59,12 +59,12 @@
    @ApiOperation("根据id获取门店信息")
    @RequestMapping(value = "/{id}", method = RequestMethod.GET)
    @ResponseBody
    public CommonResult<StoreInfo> getItem(@PathVariable Long id) {
    public CommonResult<StoreInfoVO> getItem(@PathVariable Long id) {
        StoreInfo storeInfo = storeInfoService.getById(id);
        StoreInfoVO vo = new StoreInfoVO();
        BeanUtils.copyProperties(storeInfo, vo);
        vo.setVideoPoint(videoPointService.getById(storeInfo.getVideoId()));
        return CommonResult.success(storeInfo);
        return CommonResult.success(vo);
    }
    @ApiOperation(value = "添加门店信息")