SCFC 1 год назад
Родитель
Сommit
de4c5dc8fb
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      script/module/present/NewFirstChargeLogic.lua

+ 3 - 2
script/module/present/NewFirstChargeLogic.lua

@@ -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