From 77b6e1ffe08c1e8a2017784472ab31593295893c Mon Sep 17 00:00:00 2001 From: Yi Duan Date: Fri, 20 Sep 2024 19:04:46 +0800 Subject: [PATCH] doc: remove basic_usage.md internal words (#1151) --- .../Tutorials/advanced-feature/generic-call/basic_usage.md | 2 +- .../Tutorials/advanced-feature/generic-call/basic_usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md b/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md index 25a1814f08..9d9472ae3d 100644 --- a/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md +++ b/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md @@ -509,7 +509,7 @@ func main() { req.Header.Set("token", "1") customReq, err := generic.FromHTTPRequest(req) // Considering that businesses might use third-party HTTP requests, you can create your own conversion function // customReq *generic.HttpRequest - // Since the HTTP generic method is obtained from the HTTP request via BAM rules, it's okay to leave it empty + // Since the HTTP generic method is obtained from the HTTP request via [Thrift-HTTP Mapping's IDL Standards], it's okay to leave it empty resp, err := cli.GenericCall(ctx, "", customReq) realResp := resp.(*generic.HTTPResponse) realResp.Write(w) // Write back to ResponseWriter, used for HTTP gateway diff --git a/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md b/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md index 125f2f8e2b..30d80bb0d5 100644 --- a/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md +++ b/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md @@ -505,7 +505,7 @@ func main() { req.Header.Set("token", "1") customReq, err := generic.FromHTTPRequest(req) // 考虑到业务有可能使用第三方 http request,可以自行构造转换函数 // customReq *generic.HttpRequest - // 由于 http 泛化的 method 是通过 bam 规则从 http request 中获取的,所以填空就行 + // 由于 http 泛化的 method 是通过[Thrift-HTTP 映射的 IDL 规范]从 http request 中获取的,所以填空就行 resp, err := cli.GenericCall(ctx, "", customReq) realResp := resp.(*generic.HTTPResponse) realResp.Write(w) // 写回 ResponseWriter,用于 http 网关