Skip to content

Commit 4c034b7

Browse files
committed
修改TIoTCoreAppEnvironment的url的注释
Change-Id: I8a9b47757f7b139b196192c0e3917bdbd4f5c664
1 parent 574deda commit 4c034b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Source/LinkSDK/QCFoundation/TIoTCoreAppEnvironment.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ - (instancetype)init
3737

3838
- (void)setEnvironment {
3939

40-
//公版&开源体验版使用
41-
self.studioBaseUrl = @"https://iot.cloud.tencent.com/api/studioapp"; //接入层 API 登录前所使用的 API URL(开源版和公版)
42-
self.studioBaseUrlForLogined = @"https://iot.cloud.tencent.com/api/studioapp/tokenapi"; //接入层 API(目前等同于应用端 API)
40+
//公版&开源体验版使用 当在 app-config.json 中配置 TencentIotLinkAppkey TencentIotLinkAppSecret 后,将自动切换为 OEM 版本。
41+
self.studioBaseUrl = @"https://iot.cloud.tencent.com/api/studioapp";
42+
self.studioBaseUrlForLogined = @"https://iot.cloud.tencent.com/api/studioapp/tokenapi";
4343

4444
//OEM App 使用
45-
self.oemAppApi = @"https://iot.cloud.tencent.com/api/exploreropen/appapi"; //应用端 API 登录前所使用的 API(需签名) URL https://cloud.tencent.com/document/product/1081/40773
46-
self.oemTokenApi = @"https://iot.cloud.tencent.com/api/exploreropen/tokenapi"; //应用端 API 登录后所使用的 API URL https://cloud.tencent.com/document/product/1081/40773
45+
self.oemAppApi = @"https://iot.cloud.tencent.com/api/exploreropen/appapi"; // 需要替换为自建后台服务地址。 https://cloud.tencent.com/document/product/1081/40773
46+
self.oemTokenApi = @"https://iot.cloud.tencent.com/api/exploreropen/tokenapi"; // 可安全在设备端调用。 https://cloud.tencent.com/document/product/1081/40773
4747

4848
self.wsUrl = @"wss://iot.cloud.tencent.com/ws/explorer"; //长连接通信 https://cloud.tencent.com/document/product/1081/40792
4949
self.h5Url = @"https://iot.cloud.tencent.com/explorer-h5";

0 commit comments

Comments
 (0)