From 497424cb9556473b4190873030ec1041a37167da Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Tue, 8 Apr 2025 16:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9F=A5=E8=AF=86=E5=BA=93?= =?UTF-8?q?=E5=A2=9E=E5=88=A0=E6=94=B9=E6=9F=A5=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=8F=82=E6=95=B0=E8=A7=A3=E6=9E=90=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/kbase.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proto/kbase.go b/proto/kbase.go index f1b645e..0e2eec1 100644 --- a/proto/kbase.go +++ b/proto/kbase.go @@ -1,9 +1,9 @@ package proto type KnowledgeBaseReq struct { - ID uint `json:"id"` // 知识库ID - UUID string `json:"uuid"` // 知识库UUID - Name string `json:"name"` // 知识库名称 - Description string `json:"description"` // 知识库描述 - FileIDS string `json:"file_ids"` // 文件ID列表,逗号分隔 + ID uint `json:"id" form:"id"` // 知识库ID + UUID string `json:"uuid" form:"uuid"` // 知识库UUID + Name string `json:"name" form:"name"` // 知识库名称 + Description string `json:"description" form:"description"` // 知识库描述 + FileIDS string `json:"file_ids" form:"file_ids"` // 文件ID列表,逗号分隔 }