mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
!21 fix(SmsAdvertServiceImpl.java): 修复app banner图片不显示的问题
Merge pull request !21 from Hekliu
This commit is contained in:
commit
5d4c5463e0
@ -55,7 +55,7 @@ public class SmsAdvertServiceImpl extends ServiceImpl<SmsAdvertMapper, SmsAdvert
|
|||||||
|
|
||||||
List<SmsAdvert> entities = this.list(new LambdaQueryWrapper<SmsAdvert>().
|
List<SmsAdvert> entities = this.list(new LambdaQueryWrapper<SmsAdvert>().
|
||||||
eq(SmsAdvert::getStatus, StatusEnum.ENABLE.getValue())
|
eq(SmsAdvert::getStatus, StatusEnum.ENABLE.getValue())
|
||||||
.select(SmsAdvert::getTitle)
|
.select(SmsAdvert::getTitle, SmsAdvert::getPicUrl, SmsAdvert::getRedirectUrl)
|
||||||
);
|
);
|
||||||
List<AdBannerVO> list = advertConverter.entity2BannerVo(entities);
|
List<AdBannerVO> list = advertConverter.entity2BannerVo(entities);
|
||||||
return list;
|
return list;
|
||||||
|
Loading…
Reference in New Issue
Block a user