@@ -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()
@@ -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,