添加知识库增删改查,修复请求参数解析结构
This commit is contained in:
parent
349ee3af05
commit
497424cb95
|
|
@ -1,9 +1,9 @@
|
||||||
package proto
|
package proto
|
||||||
|
|
||||||
type KnowledgeBaseReq struct {
|
type KnowledgeBaseReq struct {
|
||||||
ID uint `json:"id"` // 知识库ID
|
ID uint `json:"id" form:"id"` // 知识库ID
|
||||||
UUID string `json:"uuid"` // 知识库UUID
|
UUID string `json:"uuid" form:"uuid"` // 知识库UUID
|
||||||
Name string `json:"name"` // 知识库名称
|
Name string `json:"name" form:"name"` // 知识库名称
|
||||||
Description string `json:"description"` // 知识库描述
|
Description string `json:"description" form:"description"` // 知识库描述
|
||||||
FileIDS string `json:"file_ids"` // 文件ID列表,逗号分隔
|
FileIDS string `json:"file_ids" form:"file_ids"` // 文件ID列表,逗号分隔
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue