Commit 1f80c37b authored by libin's avatar libin

bannerid

parent e041efcc
......@@ -11,7 +11,8 @@ import lombok.Data;
@Data
public class BannerVo {
private String title;
private Long id;
private String title;
/**
* 封面地址
......
......@@ -40,6 +40,7 @@ public class BannerBiz extends BaseBiz<BannerMapper,Banner> {
bannerVo.setCover(banner.getCover());
bannerVo.setUrl(banner.getUrl());
bannerVo.setTitle(banner.getTitle());
bannerVo.setId(banner.getId());
bannerVos.add(bannerVo);
});
return bannerVos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment