Commit 19a159f4 authored by lining's avatar lining

feat: 首页底部图片

parent bfdf0f07
......@@ -30,4 +30,7 @@ public class HomeViewVO {
@ApiModelProperty("0 普通用户 1 客服 2 估价员 3 销售")
private Integer roleType;
@ApiModelProperty("首页底部图片")
private String bottomImage;
}
\ No newline at end of file
......@@ -80,10 +80,14 @@ public class HomeCommonService {
// 服务
Result<List<ServiceCategoryVO>> serviceResult = serviceCategoryService.list(null);
// 首页底部图片
String bottomImage = sysParamMapper.selectOne(SysParam.builder().code(SysParamConstants.HOME_BOTTOM_IMAGE).build()).getValue();
HomeViewVO homeViewVO = HomeViewVO.builder()
.bannerList(bannerVOList)
.noticeList(homeNoticeVOList)
.serviceList(serviceResult.getData())
.bottomImage(bottomImage)
.build();
return ResultGenerator.success(homeViewVO);
......
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