|
|
|
@ -44,8 +44,8 @@ public class ArticleRespDTO implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "是否允许评论 否:0 是:1")
|
|
|
|
|
private String allowCommit;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "是否自动推送 否:0 是:1")
|
|
|
|
|
private String autoPush;
|
|
|
|
|
@ApiModelProperty(value = "是否自动推送 否:false 是:true")
|
|
|
|
|
private Boolean autoPush;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "总评论数,大于99,显示99+")
|
|
|
|
|
private Long totalCommentReply;
|
|
|
|
@ -73,7 +73,7 @@ public class ArticleRespDTO implements Serializable {
|
|
|
|
|
response.setIsScheduled(article.getIsScheduled());
|
|
|
|
|
response.setPubTime(article.getPubTime().format(Constants.formatter));
|
|
|
|
|
response.setAllowCommit(article.getAllowCommit());
|
|
|
|
|
response.setAutoPush(article.getAutoPush());
|
|
|
|
|
response.setAutoPush("1".equals(article.getAutoPush())?true:false);
|
|
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|