Commit 14b7740f authored by yaobaizheng's avatar yaobaizheng

添加注解 返回默认图片

parent 708c6cd2
...@@ -183,7 +183,7 @@ public class CarrierInfoServiceImpl extends ServiceImpl<CarrierInfoMapper, Carri ...@@ -183,7 +183,7 @@ public class CarrierInfoServiceImpl extends ServiceImpl<CarrierInfoMapper, Carri
ResourceVo allResource = ResourceVo allResource =
sysCarouselInfoService.getAllResource(CarouselTypeEnum.CARRIER.getType(), id); sysCarouselInfoService.getAllResource(CarouselTypeEnum.CARRIER.getType(), id);
// 轮播图 // 轮播图
carrierDetailVo.setImgUrls(allResource.getImgUrlList()); carrierDetailVo.setImgUrlList(allResource.getImgUrlList());
// 园区信息 // 园区信息
Integer parkId = carrierInfo.getParkId(); Integer parkId = carrierInfo.getParkId();
if (ObjectUtils.isNotEmpty(parkId)) { if (ObjectUtils.isNotEmpty(parkId)) {
......
...@@ -68,7 +68,7 @@ public class CarrierDetailVo { ...@@ -68,7 +68,7 @@ public class CarrierDetailVo {
//----------轮播图------------------- //----------轮播图-------------------
@ApiModelProperty(value = "轮播图") @ApiModelProperty(value = "轮播图")
@JsonSerialize(using = DefaultImgUrlList.class) @JsonSerialize(using = DefaultImgUrlList.class)
private List<String> imgUrls; private List<String> imgUrlList;
@ApiModelProperty(value = "产业园信息") @ApiModelProperty(value = "产业园信息")
......
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