Browse Source

新闻接口增加状态字段返回

dzx 2 months ago
parent
commit
8b2f6604bb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/java/com/xjrsoft/module/oa/vo/NewsVo.java

+ 3 - 0
src/main/java/com/xjrsoft/module/oa/vo/NewsVo.java

@@ -57,6 +57,9 @@ public class NewsVo {
     @ApiModelProperty("浏览量")
     @ApiModelProperty("浏览量")
     private Integer pv;
     private Integer pv;
 
 
+    @ApiModelProperty("状态 1=未发布 2=已发布 3=下架")
+    private Integer status;
+
     @ApiModelProperty("发布时间")
     @ApiModelProperty("发布时间")
     private LocalDateTime releaseTime;
     private LocalDateTime releaseTime;