【log】日志调整
parent
bdb02e9fa4
commit
239d5bbb36
File diff suppressed because it is too large
Load Diff
|
@ -230,12 +230,12 @@ end
|
|||
function this.SaveNewChatListToLocal()
|
||||
local str = table.concat(this.NewChatFriendList, "|")
|
||||
PlayerPrefs.SetString("NewChatList" .. PlayerManager.uid, str)
|
||||
Log("信息存储到本地:"..str)
|
||||
Log("好友信息存储到本地:"..str)
|
||||
end
|
||||
|
||||
function this.LoadNewChatListFromLocal()
|
||||
local str = PlayerPrefs.GetString("NewChatList" .. PlayerManager.uid)
|
||||
Log("读取本地信息:"..str)
|
||||
Log("读取本地好友信息:"..str)
|
||||
local list = string.split(str, "|")
|
||||
this.NewChatFriendList = {}
|
||||
-- 字符串转数字
|
||||
|
|
|
@ -113,7 +113,7 @@ end
|
|||
function this.AddUIList(jumpId)
|
||||
table.insert(this.OpenUIList,jumpId)
|
||||
for i,v in ipairs(this.OpenUIList) do
|
||||
Log("AddUIList:"..v)
|
||||
-- Log("AddUIList:"..v)
|
||||
end
|
||||
end
|
||||
function this.RemoveUIList()
|
||||
|
@ -121,7 +121,7 @@ function this.RemoveUIList()
|
|||
table.remove(this.OpenUIList,#this.OpenUIList)
|
||||
end
|
||||
for i,v in ipairs(this.OpenUIList) do
|
||||
Log("RemoveUIList:"..v)
|
||||
-- Log("RemoveUIList:"..v)
|
||||
end
|
||||
end
|
||||
function this.ChangeUIList(jumpId)
|
||||
|
@ -131,7 +131,7 @@ function this.ChangeUIList(jumpId)
|
|||
this.OpenUIList[#this.OpenUIList] = jumpId
|
||||
end
|
||||
for i,v in ipairs(this.OpenUIList) do
|
||||
Log("ChangeUIList:"..v)
|
||||
-- Log("ChangeUIList:"..v)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ function this.RefreshAccumRechargeValue(goodsId)
|
|||
end
|
||||
|
||||
function this.SetAccumRechargeValue(value, flag)
|
||||
Log("充值金额:"..value)
|
||||
-- Log("充值金额:"..value)
|
||||
if flag then
|
||||
AccumRechargeValue = AccumRechargeValue + value
|
||||
CheckRedPointStatus(RedPointType.FirstRecharge)
|
||||
|
|
|
@ -55,10 +55,7 @@ function this.LoginRequest(openId, func)
|
|||
local data = buffer:DataByte()
|
||||
local msg = PlayerInfoProto_pb.LoginResponse()
|
||||
msg:ParseFromString(data)
|
||||
|
||||
Log("resultCode : " .. msg.resultCode)
|
||||
Log("newToken : " .. msg.newToken)
|
||||
|
||||
Log("resultCode:"..tostring(msg.resultCode).." newToken:"..tostring(msg.newToken))
|
||||
if msg.resultCode == 0 then
|
||||
--成功登录
|
||||
Log("成功登录!!!!!!")
|
||||
|
|
|
@ -90,7 +90,6 @@ function this.RefreshChargeMoney(chargedNum, isLogin)
|
|||
lastCharged = chargedNum
|
||||
--刷新下签到红点
|
||||
CheckRedPointStatus(RedPointType.CumulativeSignIn)
|
||||
Log("已充值金额" .. chargedNum)
|
||||
end
|
||||
|
||||
-- 获得累充数量
|
||||
|
@ -100,7 +99,7 @@ end
|
|||
|
||||
-- 根据充值数量设置Vip等级
|
||||
function this.SetLevelByCost(cost)
|
||||
Log("花费:" .. cost)
|
||||
-- Log("花费:" .. cost)
|
||||
local level = minLevel
|
||||
if cost <= vipLevelConfig[minLevel].MoneyLimit then
|
||||
level = minLevel
|
||||
|
@ -116,12 +115,8 @@ function this.SetLevelByCost(cost)
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Log("vip等级:" .. level)
|
||||
|
||||
|
||||
level = level > maxLevel and maxLevel or level
|
||||
Log(string.format("累充数:%s对应的Vip等级:%s", cost, level))
|
||||
Log(string.format("已充值金额:%s 对应的Vip等级:%s", cost, level))
|
||||
return level
|
||||
end
|
||||
|
||||
|
@ -183,7 +178,7 @@ end
|
|||
|
||||
--五点刷新数据
|
||||
function this.FiveAMRefreshLocalData(hadTakeDailyBox)
|
||||
Log("5点刷新数据")
|
||||
Log("Vip,5点刷新数据")
|
||||
VipManager.SetTakeDailyBoxStatus(hadTakeDailyBox)
|
||||
--通知Vip界面刷新数据
|
||||
MapTrialManager.RefreshAttachVipData()
|
||||
|
|
Loading…
Reference in New Issue