【用户协议】提交
parent
6c5d6a4be4
commit
c89826edc5
|
|
@ -333,7 +333,11 @@ function this.RequestProtos(userId)
|
||||||
this.ConfirmImg:SetActive(PlayerPrefs.GetInt("IHaveConfirmProtos") == 1)
|
this.ConfirmImg:SetActive(PlayerPrefs.GetInt("IHaveConfirmProtos") == 1)
|
||||||
UrlList[1] = ""
|
UrlList[1] = ""
|
||||||
UrlList[2] = ""
|
UrlList[2] = ""
|
||||||
networkMgr:SendGetHttp(LoginRoot_Url.."jl_loginserver/getAgreement?gamePack=com.jieling.server", function (str)
|
local PackageID = PackageManager.GetPackageID()
|
||||||
|
local serverStr = ""
|
||||||
|
if PackageID then
|
||||||
|
serverStr = LoginRoot_Channel.. PackageID
|
||||||
|
networkMgr:SendGetHttp(LoginRoot_Url.."jl_loginserver/getAgreement?gamePack="..serverStr, function (str)
|
||||||
local json = require 'cjson'
|
local json = require 'cjson'
|
||||||
local data = json.decode(str)
|
local data = json.decode(str)
|
||||||
if data.parms then
|
if data.parms then
|
||||||
|
|
@ -355,6 +359,7 @@ function this.RequestProtos(userId)
|
||||||
HaveConfirm = false
|
HaveConfirm = false
|
||||||
end
|
end
|
||||||
end, nil, nil, nil)
|
end, nil, nil, nil)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--界面销毁时调用(用于子类重写)
|
--界面销毁时调用(用于子类重写)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue