Parcourir la source

代金券红点修改

gitxsm il y a 4 mois
Parent
commit
b423b95bc5
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      script/module/voucher/VoucherInvest.lua

+ 4 - 1
script/module/voucher/VoucherInvest.lua

@@ -26,6 +26,7 @@ local YunYingExcel = require("excel.yunying")
 
 
 local LOGTYPE = "VoucherInvest" -- 日志标识
 local LOGTYPE = "VoucherInvest" -- 日志标识
 local ACT_ID = 8203 -- 活动Id
 local ACT_ID = 8203 -- 活动Id
+local VOUCHERSHOP_ACTID = 27
 
 
 
 
 local function initData(human)
 local function initData(human)
@@ -129,9 +130,11 @@ end
 
 
 -- 主动刷新一次红点
 -- 主动刷新一次红点
 local function updateRedDot(human)
 local function updateRedDot(human)
-    YunYingLogic.sendBanner(human)
+    -- YunYingLogic.sendBanner(human)
     local config = YunYingExcel.func[ACT_ID]
     local config = YunYingExcel.func[ACT_ID]
     YunYingLogic.sendGroupUpdate(YYInfo[ACT_ID], human, config.panelID)
     YunYingLogic.sendGroupUpdate(YYInfo[ACT_ID], human, config.panelID)
+
+    YunYingLogic.sendIconUpdate(VOUCHERSHOP_ACTID, human)
 end
 end