fuwencai 2 月之前
父節點
當前提交
4a2db16b52
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. 1 1
      api/knowledge/internal/types/types.go
  2. 1 3
      api/knowledge/knowledge.api

+ 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