儿童协议,分享特殊显示提交

dev_fengTi_And
wangzhenxing 2023-07-28 14:21:40 +08:00
parent 7523d9d667
commit 6dbb9aca5d
1 changed files with 7 additions and 2 deletions

View File

@ -452,7 +452,7 @@ function this.RequestProtos(userId)
Log("用户和隐私协议功能未开启")
return
end
local chanel= SDKMgr:GetChannel()
local ChannelID = LoginRoot_UserChannel == "" and LoginRoot_Channel or LoginRoot_UserChannel
local PackageID = PackageManager.GetPackageID()
if PackageID then
@ -477,7 +477,12 @@ function this.RequestProtos(userId)
end
if UrlList[1] ~= "" and UrlList[2] ~="" then
this.protos:SetActive(true)
this.newproto:SetActive(false)
if chanel=="YGDC" or chanel=="XQDC" then
this.newproto:SetActive(true)
else
this.newproto:SetActive(false)
end
HaveConfirm = true
else
this.protos:SetActive(false)