|
|
@@ -381,13 +381,14 @@ end
|
|
|
|
|
|
-- 充值回调
|
|
|
function onCharge(human, nBuyID)
|
|
|
- print("[NewFirstChargeLogic-onCharge] nBuyID = "..nBuyID)
|
|
|
+ --print("[NewFirstChargeLogic-onCharge] nBuyID = "..nBuyID)
|
|
|
local tConfByBuyid = getNeedList()
|
|
|
local isChange = false
|
|
|
if tConfByBuyid[nBuyID] then
|
|
|
- print("[onCharge] nType = ".. tConfByBuyid[nBuyID].nType.." nBuyID = "..nBuyID)
|
|
|
+ --print("[onCharge] nType = ".. tConfByBuyid[nBuyID].nType.." nBuyID = "..nBuyID)
|
|
|
NewFirstCharge_SetBuyStatus(human, tConfByBuyid[nBuyID].nType)
|
|
|
isChange = true
|
|
|
+ NewFirstCharge_Query(human, tConfByBuyid[nBuyID].nType)
|
|
|
else
|
|
|
print("[NewFirstChargeLogic-onCharge] 不存在对应的礼包id nBuyID = "..nBuyID)
|
|
|
return
|