娃娃机etcd配置

This commit is contained in:
by 2024-08-29 11:55:57 +08:00
parent 6bd95be413
commit ccc0e97635
1 changed files with 3 additions and 0 deletions

View File

@ -2757,6 +2757,9 @@ func (this *Scene) TryRelease() {
}
func (this *Scene) GetMachineServerSecret(Appid int64, platform string) string {
config := ConfigMgrInst.GetConfig(platform).MachineConfig
if config == nil {
return ""
}
for _, info := range config.Info {
if info.AppId == Appid {
return info.ServerSecret