zhanghua
2022-11-09 7182dbfb374bef1f78d0698117e97137429f96cc
ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java
@@ -62,7 +62,7 @@
    public CommonResult<StoreInfo> getItem(@PathVariable Long id) {
        StoreInfo storeInfo = storeInfoService.getById(id);
        StoreInfoVO vo = new StoreInfoVO();
        BeanUtils.copyProperties(storeInfo,vo);
        BeanUtils.copyProperties(storeInfo, vo);
        vo.setVideoPoint(videoPointService.getById(storeInfo.getVideoId()));
        return CommonResult.success(storeInfo);
    }
@@ -70,7 +70,7 @@
    @ApiOperation(value = "添加门店信息")
    @RequestMapping(value = "/add", method = RequestMethod.POST)
    @ResponseBody
    @LogSave(operationType = "门店管理",contain = "添加门店")
    @LogSave(operationType = "门店管理", contain = "添加门店")
    public CommonResult<StoreInfo> add(@Validated @RequestBody UmsStoreInfoParam umsStoreInfoParam) {
        StoreInfo storeInfo = StoreInfo.builder()
                .owner(umsStoreInfoParam.getOwner())