瀏覽代碼

修改qq渠道首充,礼包

gitxsm 11 月之前
父節點
當前提交
2ea7fa88b0

+ 1 - 1
script/module/present/DailyLibaoLogic.lua

@@ -32,7 +32,7 @@ local QUICK_STATUS_CAN = 1 		-- 可购买
 local function getCfgIdxByChannel(human)
 	local quick_gift_id = 1
 	local gift_start_id, gift_end_id = 2, 4
-	if human.phpChanelID == CommonDefine.CHANNEL_TAG_MUZI then
+	if human.phpChanelID == CommonDefine.CHANNEL_TAG_MUZI or human.phpChanelID == CommonDefine.CHANNEL_TAG_SANLI_QQ then
 		quick_gift_id = 11
 		gift_start_id = 12
 		gift_end_id = 14

+ 2 - 1
script/module/present/MonthCard.lua

@@ -13,6 +13,7 @@ local KingWorldLogic = require("present.KingWorldLogic")
 local HeroLogic = require("hero.HeroLogic")
 local TreasureChestLogic = require("treasurechest.TreasureChestLogic")
 local Log = require("common.Log")
+local CommonDefine = require("common.CommonDefine")
 
 local MONTH_CARD_STATE_0 = 0        -- 已过期
 local MONTH_CARD_STATE_1 = 1        -- 未过期
@@ -46,7 +47,7 @@ local function MonthCard_GetConf(human)
     print("[MonthCard_GetConf] 当前的nChanelID =  "..nChanelID)
     
     local tConf = {}
-    if MONTHCHANEID_MUZI == nChanelID then
+    if CommonDefine.CHANNEL_TAG_MUZI == nChanelID or CommonDefine.CHANNEL_TAG_SANLI_QQ == nChanelID then
         table.insert(tConf, MonthCardExcel[11])
         table.insert(tConf, MonthCardExcel[12])
     else

+ 1 - 1
script/module/present/NewFirstChargeLogic.lua

@@ -72,7 +72,7 @@ local function isCorrectChanel(human)
         return false
     end
 
-    if human.phpChanelID == CommonDefine.CHANNEL_TAG_MUZI then
+    if human.phpChanelID == CommonDefine.CHANNEL_TAG_MUZI or human.phpChanelID == CommonDefine.CHANNEL_TAG_SANLI_QQ then
         return true
     end