注释
This commit is contained in:
parent
bfbd039d08
commit
8548033f82
@ -351,10 +351,10 @@ function First:requestAddress(callback, times, totalTimes)
|
||||
platform = "iOS"
|
||||
end
|
||||
loginCenterUrl = loginCenterUrl .. "?platform=" .. CS.System.Uri.EscapeDataString(platform)
|
||||
-- lua这边直接构建好参数
|
||||
for k, v in pairs(args) do
|
||||
loginCenterUrl = loginCenterUrl .. "&" .. k .. "=" .. CS.System.Uri.EscapeDataString(v)
|
||||
end
|
||||
-- 最后增加一个随机参数规避网络缓存的问题,保证每次都是新的请求
|
||||
local guid = CS.BF.BFMain.Instance.SDKMgr.BFLoginSDKMgr:GetNewPlayerGuid()
|
||||
loginCenterUrl = loginCenterUrl .. "&random=" .. CS.System.Uri.EscapeDataString(guid)
|
||||
CS.BF.BFMain.Instance.SDKMgr.BFLoginSDKMgr:GetWithURL(loginCenterUrl, function (req, rsp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user