|
|
@@ -49,6 +49,8 @@ local OneKillGiftLogic = require("present.OneKillGift")
|
|
|
local OpenServerGiftPackage = require("present.OpenServerGiftPackage")
|
|
|
local CommonDefine = require("common.CommonDefine")
|
|
|
local ZhuanpanGift = require("zhuanpan.ZhuanpanGift")
|
|
|
+local VoucherInvest = require("voucher.VoucherInvest")
|
|
|
+local CommonActLoginGift = require("absAct.CommonActLoginGift")
|
|
|
|
|
|
BUY_CODE_NORMAL = 0 -- 正常调平台的充值接口
|
|
|
BUY_CODE_WX_KEFU = 1 -- 微信小程序客服充值接口
|
|
|
@@ -363,9 +365,21 @@ end
|
|
|
|
|
|
function cmd.zhuanpanGift(human, buyConf, isFirst, buyCnt, buyNum)
|
|
|
local nBuyID = buyConf.id
|
|
|
- ZhuanpanGift.onCharge(human, nBuyID, buyNum)
|
|
|
+ VoucherInvest.onCharge(human, nBuyID, buyNum)
|
|
|
end
|
|
|
|
|
|
+
|
|
|
+function cmd.VoucherInvest(human, buyConf, isFirst, buyCnt, buyNum)
|
|
|
+ local nBuyID = buyConf.id
|
|
|
+ VoucherInvest.onCharge(human, nBuyID, buyNum)
|
|
|
+end
|
|
|
+
|
|
|
+function cmd.CommonActLoginGift(human, buyConf, isFirst, buyCnt, buyNum)
|
|
|
+ local nBuyID = buyConf.id
|
|
|
+ CommonActLoginGift.onCharge(human, nBuyID, buyNum)
|
|
|
+end
|
|
|
+
|
|
|
+
|
|
|
-------------------------------- cmd结束 ----------------------------------
|
|
|
|
|
|
function checkBuy(human, ret)
|