|
@@ -101,6 +101,9 @@ func (service *formatterService) OldFormat(ctx context.Context, req *[]model.Gam
|
|
|
UdpSessionTimeout = ""
|
|
|
}
|
|
|
keyName := fmt.Sprintf("key%d", v.KeySort)
|
|
|
+ if v.Type != "pc" {
|
|
|
+ v.SdkIp = ""
|
|
|
+ }
|
|
|
res[keyName] = v1.SendGameShieldBackend{
|
|
|
Addr: []string{addr},
|
|
|
Protocol: v.Protocol,
|
|
@@ -165,7 +168,7 @@ func (service *formatterService) TidyFormatBackendData(ctx context.Context, req
|
|
|
}
|
|
|
itemMap.Type = item.Type
|
|
|
if item.Type != "pc" {
|
|
|
- itemMap.SdkIp = "127.0.0.1"
|
|
|
+ itemMap.SdkIp = ""
|
|
|
} else {
|
|
|
itemMap.SdkIp = item.SdkIp
|
|
|
}
|