浏览代码

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

zqbao 4 月之前
父节点
当前提交
a88a88a103
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {