xiyou_sanguo
parent
2c6380a294
commit
6162918ca0
|
|
@ -483,10 +483,10 @@ function this.RequestProtos(userId)
|
|||
end
|
||||
local chanel = AppConst.SdkChannel
|
||||
local ChannelID = LoginRoot_UserChannel == "" and LoginRoot_Channel or LoginRoot_UserChannel
|
||||
local PackageID = PackageManager.GetPackageID()
|
||||
if PackageID then
|
||||
ChannelID = ChannelID .. PackageID
|
||||
end
|
||||
--local PackageID = PackageManager.GetPackageID()
|
||||
--if PackageID then
|
||||
--ChannelID = ChannelID .. PackageID
|
||||
--end
|
||||
local url = LoginRoot_Url .. "jl_loginserver/getAgreement?gamePack=" .. ChannelID
|
||||
LogError("协议地址为==" .. url)
|
||||
HttpManager:SendGetHttp(url, function(str)
|
||||
|
|
@ -947,7 +947,8 @@ function this.RequestHttpLogin()
|
|||
local url = ""
|
||||
local user_channel = LoginRoot_UserChannel == "" and LoginRoot_Channel or LoginRoot_UserChannel
|
||||
local tokenStr = AppConst.TokenStr
|
||||
local Platform = 1
|
||||
local Platform = LoginManager.SdkSubChannel == "" and "1" or LoginManager.SdkSubChannel
|
||||
--local Platform = 1
|
||||
-- if user_channel~="pc" then
|
||||
-- local chanel= SDKMgr:GetChannel()
|
||||
-- if chanel and chanel=="Ohayoo" then
|
||||
|
|
|
|||
Loading…
Reference in New Issue