Browse Source

屏蔽公测返利功能

gitxsm 2 months ago
parent
commit
b21bc265c9
2 changed files with 2 additions and 1 deletions
  1. 1 1
      script/core/ObjHuman.lua
  2. 1 0
      script/module/platform/RebateLogic.lua

+ 1 - 1
script/core/ObjHuman.lua

@@ -856,7 +856,7 @@ function onLogin(human, isNew)
 	MiddleLogic.onLogin(human)
 
 	--返利
-	RebateLogic.NS_RebateQuery(human.phpChanelID, human.serverTag, human.db.account)
+	-- RebateLogic.NS_RebateQuery(human.phpChanelID, human.serverTag, human.db.account)
 end
 
 -- 这里有个潜规则,凡是使用每天都需更新的数据时,都必须先调用这个方法。by cc

+ 1 - 0
script/module/platform/RebateLogic.lua

@@ -115,6 +115,7 @@ end
 
 -- 收到普通服查询是否给玩家返利
 function CS_RebateQuery(msg)
+    do return end -- 屏蔽返利功能
     local channelId = msg.channelId
     local serverId = msg.serverId
     local account = msg.account