diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 7758fc15d..7d8997731 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -12,7 +12,7 @@ local lastServerIndex = "lastServerIndex" local defaultOpenIdkey = GetLanguageStrById(11118) local defaultOpenIdPw = "" local LoginRoot_Url = VersionManager:GetVersionInfo("serverUrl") -local LoginRoot_SubChannel = VersionManager:GetVersionInfo("subChannel") +local LoginRoot_SubChannel = GetChannelConfig().Button_PlayerSet_Exchange and VersionManager:GetVersionInfo("subChannel") or "3000" local LoginRoot_Channel = VersionManager:GetVersionInfo("channel") local LoginRoot_Version = VersionManager:GetVersionInfo("version") local LoginRoot_PackageVersion = VersionManager:GetVersionInfo("packageVersion") diff --git a/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua b/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua index f950e8d83..3dfc5a469 100644 --- a/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua @@ -292,7 +292,7 @@ function this.RequestPay(context) end params.orderID = data.orderId - params.extension = string.format('{"extension":"%s"}',string.format("%s_%s_%s_%s", PlayerManager.uid, context.Id, VersionManager:GetVersionInfo("subChannel"),data.orderId))--tostring(context.Id) + params.extension = string.format('{"extension":"%s"}',string.format("%s_%s_%s_%s", PlayerManager.uid, context.Id, GetChannelConfig().Button_PlayerSet_Exchange and VersionManager:GetVersionInfo("subChannel") or "3000",data.orderId))--tostring(context.Id) -- string.format("%s_%s_%s_%s_%s_%s", -- AppConst.OpenId,context.Id,context.Price,PlayerManager.uid, -- PlayerManager.serverInfo.server_id,PlayerManager.serverInfo.name)