From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java |   36 +++++++++++++++---------------------
 1 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java
index 9903cb4..5639eb6 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java
@@ -1,11 +1,11 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @auther lyq
@@ -22,7 +22,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -46,7 +46,7 @@
     private Long userId;
 
     /**
-     * 有效状态(1.有效  2.取消)
+     * 有效状态(1.有效 2.取消)
      */
     private Integer isEffective;
 
@@ -62,10 +62,17 @@
     @TableField(fill = FieldFill.UPDATE)
     private Date updateAt;
 
+    @Override
+    public String toString() {
+        return "ComActNeighborCircleFabulousDO{" + "id=" + id + ", type=" + type + ", parentId=" + parentId
+            + ", userId=" + userId + ", isEffective=" + isEffective + ", createAt=" + createAt + ", updateAt="
+            + updateAt + "}";
+    }
+
     /**
-     * 有效状态(1.有效  2.取消)
+     * 有效状态(1.有效 2.取消)
      */
-    public interface isEffective{
+    public interface isEffective {
         int yes = 1;
         int no = 2;
     }
@@ -73,22 +80,9 @@
     /**
      * 点赞类型(1.邻里圈 2.评论 3.回复)
      */
-    public interface type{
+    public interface type {
         int llq = 1;
         int pl = 2;
         int hf = 3;
-    }
-
-    @Override
-    public String toString() {
-        return "ComActNeighborCircleFabulousDO{" +
-                "id=" + id +
-                ", type=" + type +
-                ", parentId=" + parentId +
-                ", userId=" + userId +
-                ", isEffective=" + isEffective +
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                "}";
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1