fuwencai 2 сар өмнө
parent
commit
4a2db16b52

+ 1 - 1
api/knowledge/internal/types/types.go

@@ -91,5 +91,5 @@ type CommonPhrasesQueryReq struct {
 }
 
 type KeywordListReq struct {
-	AppId string `header:"appId"`
+	AppId string `header:"appId,optional"`
 }

+ 1 - 3
api/knowledge/knowledge.api

@@ -79,9 +79,7 @@ type CommonPhrasesQueryReq {
 	AppId string `header:"appId"`
 }
 type KeywordListReq {
-	//    Query string `json:"query"`
-	//    EntId int64  `header:"entId"` //企业id
-	AppId string `header:"appId"`
+	AppId string `header:"appId,optional"`
 }
 service knowledge-api {
 	@handler knowledgeAdd