Commit 14b7740f authored by yaobaizheng's avatar yaobaizheng

添加注解 返回默认图片

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