Sfoglia il codice sorgente

修改微信小程序渠道月卡价格

gitxsm 5 mesi fa
parent
commit
665ef63eb1
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      script/common/CommonDefine.lua
  2. 2 2
      script/module/present/MonthCard.lua

+ 1 - 1
script/common/CommonDefine.lua

@@ -8,7 +8,7 @@ CHANNEL_TAG_SANLI_IOS = 3        -- 三狸iOS
 CHANNEL_TAG_SANLI_QQ = 4         -- 三狸QQ大厅
 CHANNEL_TAG_SANLI_H5= 5          -- 三狸H5
 CHANNEL_TAG_SANLI_H5_4399 = 6    -- 三狸H5-4399
-
+CHANNEL_TAG_WX = 11              -- 微信小程序
 
 
 

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

@@ -45,10 +45,10 @@ local function MonthCard_GetConf(human)
         return nil
     end
 
-    print("[MonthCard_GetConf] 当前的nChanelID =  "..nChanelID)
+    -- print("[MonthCard_GetConf] 当前的nChanelID =  "..nChanelID)
     
     local tConf = {}
-    if CommonDefine.CHANNEL_TAG_MUZI == nChanelID or CommonDefine.CHANNEL_TAG_SANLI_QQ == nChanelID then
+    if CommonDefine.CHANNEL_TAG_MUZI == nChanelID or CommonDefine.CHANNEL_TAG_SANLI_QQ == nChanelID or CommonDefine.CHANNEL_TAG_WX == nChanelID then
         table.insert(tConf, MonthCardExcel[11])
         table.insert(tConf, MonthCardExcel[12])
     else