Merge remote-tracking branch 'origin/master'

This commit is contained in:
songmingsong
2024-12-06 14:49:59 +08:00
9 changed files with 34 additions and 18 deletions

View File

@ -51,7 +51,7 @@ public class GoodsServiceImpl implements GoodsService {
goodsVO.setLatitude(videoRespVO.getLatitude());
goodsVO.setGoodsType(1);
goodsVO.setGoodsId(videoRespVO.getId());
goodsVO.setVideoUrl(videoRespVO.getVideoUrl());
goodsVO.setTemplateCoverUrl(videoRespVO.getTemplateCoverUrl());
goodsList.add(goodsVO);
});
@ -104,7 +104,7 @@ public class GoodsServiceImpl implements GoodsService {
if(videoRespVO==null){
return ApiResponse.fail("该vlog不存在或已失效");
}
BigDecimal tmplatePrice = videoRespVO.getTmplatePrice();
BigDecimal tmplatePrice = videoRespVO.getTemplatePrice();
if(tmplatePrice==null){
return ApiResponse.fail("该vlog使用的模板价格或状态异常请联系管理员");
}