docs: update API endpoint examples safely

Use the documented API host and replace credential fragments with placeholders.
This commit is contained in:
Dai0814
2026-10-26 16:12:43 +08:00
parent 19455e1cbc
commit 37a1d00f01
7 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -8,18 +8,18 @@ outline: deep
本文档收录历史 `/route/open/*` 路径下仍在维护的兼容接口。鉴权通过请求体 `verify` 中的 `appId`、`password` 和 `timeStamp` 完成;`sign` 为历史兼容字段,当前服务不校验。
这些接口由 iotLCM OpenAPI 服务实现并提供,与 V3 接口同域(`api.iotlcm.example.com`),仅请求路径与鉴权方式不同。
这些接口由 iotLCM OpenAPI 服务实现并提供,与 V3 接口同域(`apiv3.5iot.cn`),仅请求路径与鉴权方式不同。
## 服务地址
```text
https://api.iotlcm.example.com
https://apiv3.5iot.cn
```
完整请求 URL:
```text
https://api.iotlcm.example.com/route/open/{接口名}
https://apiv3.5iot.cn/route/open/{接口名}
```
## 统一鉴权
@@ -82,7 +82,7 @@ appId={appId}&password={password}&timeStamp={timeStamp}&key={accessKey}
```java
// 服务器请求地址
protected static String server_Ip = "https://api.iotlcm.example.com/route/open";
protected static String server_Ip = "https://apiv3.5iot.cn/route/open";
// appId
public static String appId = null;
// 密钥密码