up
This commit is contained in:
@@ -52,13 +52,15 @@ function TRPConnect.procNetwork(cmd, succ, msg, paras)
|
||||
TRPConnect.getDataFromServer()
|
||||
end
|
||||
else
|
||||
CLUIUtl.showConfirm(
|
||||
"服务器连接失败,确认网络连接正常。",
|
||||
function()
|
||||
NetProto.socketInit(companyInfro.company_id, companyInfro.login_no)
|
||||
end,
|
||||
nil
|
||||
)
|
||||
if (cmd == "connect") then
|
||||
CLUIUtl.showConfirm(
|
||||
"服务器连接失败,确认网络连接正常。",
|
||||
function()
|
||||
NetProto.socketInit(companyInfro.company_id, companyInfro.login_no)
|
||||
end,
|
||||
nil
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -83,8 +85,10 @@ function TRPConnect.getDataFromServer()
|
||||
5
|
||||
)
|
||||
NetProto.send.announcement_query()
|
||||
-- NetProto.send.booking_query()
|
||||
-- NetProto.send.replenish_query()
|
||||
NetProto.send.booking_query()
|
||||
NetProto.send.replenish_query()
|
||||
NetProto.send.load_wfTicket_Settings()
|
||||
NetProto.send.selectProductInfo()
|
||||
end
|
||||
|
||||
-- 处理ui上的事件,例如点击等
|
||||
|
||||
Reference in New Issue
Block a user