fuwencai 2 months ago
parent
commit
cb5fd93403

+ 1 - 1
rpc/knowledge/internal/logic/keywordlistlogic.go

@@ -25,6 +25,6 @@ func NewKeywordListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Keywo
 }
 
 // 聊天框 关键词信息
-func (l *KeywordListLogic) KeywordList(in *knowledge.CommonPhraseQueryReq) (*knowledge.KeywordListResp, error) {
+func (l *KeywordListLogic) KeywordList(in *knowledge.KeywordListReq) (*knowledge.KeywordListResp, error) {
 	return service.NewSKeywordService(in).GetKeywordList()
 }

+ 2 - 2
rpc/knowledge/internal/service/keywordlistService.go

@@ -9,10 +9,10 @@ import (
 )
 
 type SKeywordService struct {
-	*knowledge.CommonPhraseQueryReq
+	*knowledge.KeywordListReq
 }
 
-func NewSKeywordService(in *knowledge.CommonPhraseQueryReq) *SKeywordService {
+func NewSKeywordService(in *knowledge.KeywordListReq) *SKeywordService {
 	return &SKeywordService{
 		in,
 	}