Browse Source

fix:知识资源库添加外部资源字段

zqbao 3 months ago
parent
commit
a88a88a103
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/knowledge/knowledge_resource.go

+ 1 - 0
models/knowledge/knowledge_resource.go

@@ -74,6 +74,7 @@ type KnowledgeResource struct {
 	IsFile              int        `gorm:"column:is_file;default:0;NOT NULL"`
 	FileUrl             string     `gorm:"column:file_url"`
 	IsDelete            int        `gorm:"column:is_delete;default:0;NOT NULL"`
+	OutSource           int        `gorm:"column:out_source" description:"外部来源:0:内部 1:智力共享 2:数据节点"`
 }
 
 func (m *KnowledgeResource) TableName() string {