diff --git a/zh-cn/application-dev/reference/apis/js-apis-http.md b/zh-cn/application-dev/reference/apis/js-apis-http.md index 8900ae208d756c089bb01ab0583cd513d4ba4318..fff275f377c548c54d82a464158b72c5deac9302 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-http.md +++ b/zh-cn/application-dev/reference/apis/js-apis-http.md @@ -814,7 +814,7 @@ httpRequest.off('dataProgress'); | extraData | string6+ \| Object6+ \| ArrayBuffer8+ | 否 | 发送请求的额外数据,默认无此字段。
- 当HTTP请求为POST、PUT等方法时,此字段为HTTP请求的content,以UTF-8编码形式作为请求体。6+
- 当HTTP请求为GET、OPTIONS、DELETE、TRACE、CONNECT等方法时,此字段为HTTP请求参数的补充。开发者需传入Encode编码后的string类型参数,Object类型的参数无需预编码,参数内容会拼接到URL中进行发送;ArrayBuffer类型的参数不会做拼接处理。6+ | | expectDataType9+ | [HttpDataType](#httpdatatype9) | 否 | 指定返回数据的类型,默认无此字段。如果设置了此参数,系统将优先返回指定的类型。 | | usingCache9+ | boolean | 否 | 是否使用缓存,默认为true。 | -| priority9+ | number | 否 | 优先级,范围\[0,1000],默认是0。 | +| priority9+ | number | 否 | 优先级,范围[1,1000],默认是1。 | | header | Object | 否 | HTTP请求头字段。默认{'Content-Type': 'application/json'}。 | | readTimeout | number | 否 | 读取超时时间。单位为毫秒(ms),默认为60000ms。
设置为0表示不会出现超时情况。 | | connectTimeout | number | 否 | 连接超时时间。单位为毫秒(ms),默认为60000ms。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md index bd367fc4d2d43e7921032a97b36782870f460d86..ff62dbe2f3ff9668b1d27cdfd0b61eed42a7ea64 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md @@ -1840,7 +1840,7 @@ connection.getDefaultNet().then(function (netHandle) { | ------ | ------ | --- |------------------------- | | host | string | 否 | 代理服务器主机名。 | | port | number | 否 | 主机端口。 | -| exclusionList | Array | 否 | 不使用代理服务器的屏蔽列表。 | +| exclusionList | Array | 否 | 不使用代理服务器的屏蔽列表,列表内元素个数上限为128。 | ## NetSpecifier