|
|
@@ -385,7 +385,7 @@ function CommerceMiddle_GetActInfo_WL(msg)
|
|
|
|
|
|
local tDBData = CommonDB.GetCommerceActInfo()
|
|
|
local tMsgData = InnerMsg.lw.LW_COMMERCE_GET_ACT_INFO
|
|
|
- table.print_lua_table(tDBData)
|
|
|
+ -- table.print_lua_table(tDBData)
|
|
|
|
|
|
tMsgData.nReqServerID = msg.nReqServerID
|
|
|
tMsgData.nSrcServerID = Config.SVR_INDEX
|
|
|
@@ -416,7 +416,7 @@ function CommerceMiddle_GetActInfo_LW(msg)
|
|
|
local nServerConfID = MiddleConnect.MiddleConnect_TrueServerID2ConfServerID(msg.nSrcServerID)
|
|
|
local nServerKey = MiddleConnect.MiddleConnect_GetWarZoneServer(nServerConfID)
|
|
|
print("[CommerceMiddle_GetActInfo_LW] 中心服收到回包 nReqServerID = "..nReqServerID.." nServerConfID = "..nServerConfID)
|
|
|
- table.print_lua_table(msg)
|
|
|
+ -- table.print_lua_table(msg)
|
|
|
|
|
|
local tDBData = {
|
|
|
nBatchID = 0,
|
|
|
@@ -427,7 +427,7 @@ function CommerceMiddle_GetActInfo_LW(msg)
|
|
|
local tOldDBData = CommonDB.GetCommerceMiddleAct_ByKey(nServerKey)
|
|
|
if tOldDBData then
|
|
|
print("[CommerceMiddle_GetActInfo_LW] 存在db数据")
|
|
|
- table.print_lua_table(tOldDBData)
|
|
|
+ -- table.print_lua_table(tOldDBData)
|
|
|
end
|
|
|
|
|
|
-- 不存在对应的数据
|
|
|
@@ -446,14 +446,14 @@ function CommerceMiddle_GetActInfo_LW(msg)
|
|
|
tOldDBData = CommonDB.GetCommerceMiddleAct_ByKey(nServerKey)
|
|
|
if tOldDBData then
|
|
|
print("[CommerceMiddle_GetActInfo_LW] 设置后的数据打印")
|
|
|
- table.print_lua_table(tOldDBData)
|
|
|
+ -- table.print_lua_table(tOldDBData)
|
|
|
end
|
|
|
|
|
|
CommerceMiddle_Refresh(nServerKey)
|
|
|
end
|
|
|
|
|
|
print("[CommerceMiddle_GetActInfo_LW] 1111111")
|
|
|
- table.print_lua_table(tDBData)
|
|
|
+ -- table.print_lua_table(tDBData)
|
|
|
|
|
|
if 0 ~= nReqServerID then
|
|
|
print("[CommerceMiddle_GetActInfo_LW] 当前有服务器请求数据 nReqServerID = "..nReqServerID)
|