【用户协议】提交

dev_chengFeng
ZhangBiao 2021-06-24 11:56:09 +08:00
parent 6c5d6a4be4
commit c89826edc5
1 changed files with 27 additions and 22 deletions

View File

@ -333,7 +333,11 @@ function this.RequestProtos(userId)
this.ConfirmImg:SetActive(PlayerPrefs.GetInt("IHaveConfirmProtos") == 1)
UrlList[1] = ""
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 data = json.decode(str)
if data.parms then
@ -355,6 +359,7 @@ function this.RequestProtos(userId)
HaveConfirm = false
end
end, nil, nil, nil)
end
end
--界面销毁时调用(用于子类重写)