提交 f6f722ab authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 4dd35c06
......@@ -26,7 +26,7 @@ public class FgCommentDetailsVo {
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "用户头像")
private String userImg;
private String cover;
@ApiModelProperty(value = "评分")
private Integer score;
@ApiModelProperty(value = "评论内容")
......
......@@ -20,7 +20,7 @@ public class FgCommentListVo {
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "用户头像")
private String userImg;
private String cover;
@ApiModelProperty(value = "评分")
private Integer score;
@ApiModelProperty(value = "评论内容")
......
......@@ -39,5 +39,5 @@ public class FgMyCommentListVo {
private Integer fabulousNum;
@ApiModelProperty(value = "资源封面")
private String img;
private String cover;
}
......@@ -264,7 +264,7 @@ public class FgCommentServiceImpl extends BaseServiceImpl<Comment, Integer>
form.setResourceType(vo.getResourceType());
CallBack<String> callBack = coverClient.getByResourceType(form);
if(callBack != null && callBack.getData() != null){
vo.setImg(callBack.getData());
vo.setCover(callBack.getData());
}
});
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论