diff --git a/app/netease_control_center_common_module/src/netease_control_center/globals/platformConfig.go b/app/netease_control_center_common_module/src/netease_control_center/globals/platformConfig.go index 3890420..b7ae065 100644 --- a/app/netease_control_center_common_module/src/netease_control_center/globals/platformConfig.go +++ b/app/netease_control_center_common_module/src/netease_control_center/globals/platformConfig.go @@ -1,5 +1,7 @@ package globals +import "netease_control_center/interfaces/log" + type PlatformConfig struct { MicAdc bool InputKeyPath string @@ -19,9 +21,14 @@ func GetCurPlatformConfig() PlatformConfig { } if Hv == nil { + log.Println(log.ErrorLog, "Can not get the right platform, hv is nil!") return platformConfigs["default"] } + queryString := *Hv + if queryString == "DVT" { + queryString = "EVT" + } if tmp,ok := platformConfigs[*Hv]; ok { curPlatformConfig = &tmp return tmp