Roc 1 settimana fa
parent
commit
187549b3ad

+ 1 - 1
models/rag/request/rag_eta_report.go

@@ -4,6 +4,6 @@ type BeachOpRagEtaReportAbstractReq struct {
 	RagEtaReportAbstractIdList    []int  `description:"摘要id"`
 	NotRagEtaReportAbstractIdList []int  `description:"不需要的摘要id"`
 	KeyWord                       string `description:"关键字"`
-	TagId                         int    `description:"标签id"`
+	TagId                         string `description:"标签id"`
 	IsSelectAll                   bool   `description:"是否选择所有摘要"`
 }

+ 1 - 1
models/rag/request/wechat_platform.go

@@ -28,6 +28,6 @@ type BeachOpAbstractReq struct {
 	WechatArticleAbstractIdList    []int  `description:"摘要id"`
 	NotWechatArticleAbstractIdList []int  `description:"不需要的摘要id"`
 	KeyWord                        string `description:"关键字"`
-	TagId                          int    `description:"标签id"`
+	TagId                          string `description:"标签id"`
 	IsSelectAll                    bool   `description:"是否选择所有摘要"`
 }

+ 1 - 0
services/elastic/wechat_article_abstract.go

@@ -55,6 +55,7 @@ func (m *WechatArticleAbstractItem) ToView() rag.WechatArticleAbstractView {
 		Title:                   m.Title,
 		Link:                    m.Link,
 		TagId:                   tagId,
+		TagsName:                   m.,
 	}
 }