Ver Fonte

提交代码

SCFC há 1 ano atrás
pai
commit
de4c5dc8fb
1 ficheiros alterados com 3 adições e 2 exclusões
  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