This commit is contained in:
2020-08-17 11:13:33 +08:00
parent 19e730574b
commit 21eb68aeab
93 changed files with 6713 additions and 143 deletions

View File

@@ -48,6 +48,9 @@ function TRPConnect.procNetwork(cmd, succ, msg, paras)
if (cmd == "connect") then
-- socket正常
require "db.DBRoot"
if DBRoot then
DBRoot.clean()
end
DBRoot.init()
TRPConnect.getDataFromServer()
end
@@ -66,9 +69,6 @@ end
---public 从服务器取得数据
function TRPConnect.getDataFromServer()
if DBRoot then
DBRoot.clean()
end
NetProto.send.filter_customers(
function(content)
if content.success then