Commit 14e5c6ed authored by zhouxudong's avatar zhouxudong

更新代码

parent 4ff16902
...@@ -123,7 +123,7 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe ...@@ -123,7 +123,7 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe
String honorUrl = scSourceInfoEntity.getHonorUrl(); String honorUrl = scSourceInfoEntity.getHonorUrl();
String details = scSourceInfoEntity.getDetails(); String details = scSourceInfoEntity.getDetails();
if (StringUtils.isNotBlank(honorUrl)) { if (StringUtils.isNotBlank(honorUrl)) {
List<Map> maps = JSONUtil.toList(honorUrl, Map.class); List<String> maps = Arrays.asList(honorUrl.split(";"));
developmentSourceVo.setHonorUrls(maps); developmentSourceVo.setHonorUrls(maps);
} }
if (StringUtils.isNotBlank(details)) { if (StringUtils.isNotBlank(details)) {
......
...@@ -25,7 +25,7 @@ public class DevelopmentSourceVo { ...@@ -25,7 +25,7 @@ public class DevelopmentSourceVo {
@ApiModelProperty(value = "首页视频") @ApiModelProperty(value = "首页视频")
private List<VideoVo> videoVoList = new ArrayList<>(); private List<VideoVo> videoVoList = new ArrayList<>();
@ApiModelProperty(value = "首页 舒城荣誉") @ApiModelProperty(value = "首页 舒城荣誉")
private List<Map> honorUrls=new ArrayList<>(); private List<String> honorUrls=new ArrayList<>();
@ApiModelProperty(value = "首页 话说舒城") @ApiModelProperty(value = "首页 话说舒城")
private List<String> details=new ArrayList<>(); private List<String> details=new ArrayList<>();
} }
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