增加了测试sn

This commit is contained in:
董宏宇
2021-06-08 18:11:18 +08:00
parent 836684287a
commit bcc5453211

View File

@@ -10,7 +10,6 @@ import com.mogo.cloud.httpdns.bean.HttpDnsSimpleLocation;
import com.mogo.cloud.httpdns.listener.IHttpDnsCurrentLocation;
import com.mogo.cloud.passport.MoGoAiCloudClient;
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
import com.mogo.cloud.util.Devices;
import java.util.Random;
@@ -50,10 +49,11 @@ public class MoGoApplication extends MultiDexApplication {
// 设置是否是直播推流的主播
clientConfig.setAnchor(false);
// 设置从蘑菇AI开放平台获取的APPKey
clientConfig.setThirdPartyAppKey("wbvpzgar");
clientConfig.setThirdPartyAppKey("pfieouqg");
// 设置AI云平台分配给三方应用的签名密钥需要从AI云平台申请
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
clientConfig.setThirdPartyDeviceId(Devices.getSn());
// TODO 这里使用的是测试的sn
clientConfig.setThirdPartyDeviceId("test-sn-abcd-1234");
// 设置应用服务AppId 长链、鉴权 //todo 需要卸载智慧驾驶、行车记录仪
clientConfig.setServiceAppId("com.mogo.test");
// 设置循环检测间隔时间