部分功能通过判断提审服和正式服进行开启和关闭

dev_chengFeng
JieLing 2020-09-30 10:58:26 +08:00 committed by zhangqiang
parent 79309899b0
commit bd5d9da3bf
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* @Created by MagicianJoker
--]]
SERVER_VERSION = 0
SERVER_VERSION = 1 -- 0 正式服 1 提审服
-- 启用功能引导
ENABLE_FUNC_GUIDE = 1 --0关闭1开启
RECHARGEABLE = true --false不可充值 true可充值

View File

@ -6,7 +6,7 @@ this.LoginWay = { Account = 0, WeChat = 1 }
local ServerVersion = SERVER_VERSION
local IsShowNotice = true
local IsShowNotice = SERVER_VERSION == 0 -- 正式服显示公告
local IsSDKLogin = AppConst.isSDK and AppConst.isSDKLogin
local IsDevelopLogin = true

View File

@ -103,7 +103,7 @@ function SettingInfo:RemoveListener()
end
--界面打开时调用(用于子类重写)
function SettingInfo:OnOpen()
this.cdKey:SetActive(SERVER_VERSION == 0)
end
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)