diff --git a/zh-cn/application-dev/connectivity/http-request.md b/zh-cn/application-dev/connectivity/http-request.md index 173496fe2d64473973d142fff467b3d8db0dfbc9..cec44400b724fc3ca43edc77a37e63d4e9ffc0d0 100644 --- a/zh-cn/application-dev/connectivity/http-request.md +++ b/zh-cn/application-dev/connectivity/http-request.md @@ -102,7 +102,7 @@ httpRequest.request( ```js // 引入包名 -import http from 'ohos.net.http' +import http from '@ohos.net.http' // 每一个httpRequest对应一个HTTP请求任务,不可复用 let httpRequest = http.createHttp(); diff --git a/zh-cn/application-dev/reference/apis/js-apis-socket.md b/zh-cn/application-dev/reference/apis/js-apis-socket.md index 7c005e050863732e1af8ea6b4003135aeac1a1fe..f3d2dff5695686b48f76a97aab7fb3706d63165d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-socket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-socket.md @@ -2674,4 +2674,4 @@ TLS通信的协议版本。 | 类型 | 说明 | | --------------------------------------------------------------------- | --------------------- | -|[cryptoFramework.EncodingBlob](js-apis-cryptoFramework.md#datablob) | 存储证书的数据和编码格式 | +|[cert.EncodingBlob](js-apis-cert.md#datablob) | 存储证书的数据和编码格式 |