From b1516fedd7deedb61641321158fce862f77b4b4d Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期二, 22 十一月 2022 11:51:53 +0800
Subject: [PATCH] 更新访问路径白名单,部分接口修改

---
 ycl-platform/src/main/java/com/ycl/entity/NewsAdmin.java |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsAdmin.java b/ycl-platform/src/main/java/com/ycl/entity/NewsAdmin.java
index 483902a..f3cfdbe 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/NewsAdmin.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/NewsAdmin.java
@@ -2,6 +2,8 @@
 
 
 import com.baomidou.mybatisplus.extension.activerecord.Model;
+import io.swagger.annotations.ApiModelProperty;
+
 import java.io.Serializable;
 import java.util.Date;
 
@@ -13,37 +15,49 @@
  */
 @SuppressWarnings("serial")
 public class NewsAdmin extends Model<NewsAdmin> {
-    
-    private Long id;
+
+    @ApiModelProperty("涓婚敭")
+    private Integer id;
     //鐢ㄦ埛濮撳悕
+    @ApiModelProperty("鐢ㄦ埛濮撳悕")
     private String username;
     //瀵嗙爜
+    @ApiModelProperty("瀵嗙爜")
     private String password;
     //澶村儚
+    @ApiModelProperty("澶村儚")
     private String icon;
     //閭
+    @ApiModelProperty("閭")
     private String email;
     //澶囨敞淇℃伅
+    @ApiModelProperty("澶囨敞淇℃伅")
     private String note;
     //鍒涘缓鏃堕棿
+    @ApiModelProperty("鍒涘缓鏃堕棿")
     private Date createTime;
     //甯愬彿鍚敤鐘舵�侊細0->绂佺敤锛�1->鍚敤
+    @ApiModelProperty("甯愬彿鍚敤鐘舵��")
     private Integer status;
     // 0->濂筹紝1->鐢�
+    @ApiModelProperty("鎬у埆")
     private Integer sex;
     //鎵嬫満
+    @ApiModelProperty("鎵嬫満")
     private String mobile;
     //鏄惁涓虹綉鏍肩鐞嗗憳锛�0->涓嶆槸锛�1->鏄�
+    @ApiModelProperty("鏄惁涓虹鐞嗗憳")
     private Integer isGrid;
     //璀﹀憳id
+    @ApiModelProperty("璀﹀憳id")
     private Integer newsPoliceId;
 
 
-    public Long getId() {
+    public Integer getId() {
         return id;
     }
 
-    public void setId(Long id) {
+    public void setId(Integer id) {
         this.id = id;
     }
 

--
Gitblit v1.8.0