From 3a152fd4916c1a470772bde45a8ca06736854e08 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 28 Nov 2023 21:52:13 +0800 Subject: [PATCH] 1 --- server/robotserver/app.cc | 2 +- server/robotserver/httpproxy.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/robotserver/app.cc b/server/robotserver/app.cc index 8726b0c4..6796cd55 100644 --- a/server/robotserver/app.cc +++ b/server/robotserver/app.cc @@ -29,8 +29,8 @@ void App::Init() #endif mt::MetaMgr::Instance()->Init(); IoMgr::Instance()->Init(); - PlayerMgr::Instance()->Init(); HttpProxy::Instance()->Init(); + PlayerMgr::Instance()->Init(); GGListener::Instance()->Init(); } diff --git a/server/robotserver/httpproxy.cc b/server/robotserver/httpproxy.cc index 9f6ec308..7bc24fca 100644 --- a/server/robotserver/httpproxy.cc +++ b/server/robotserver/httpproxy.cc @@ -125,6 +125,8 @@ std::string HttpProxy::HttpGet( proxy_url_params->SetVal("params", url_params.ToJsonStr()); proxy_url_params->SetVal("cb_url", a8::Format("http://%s:%d/webapp/index.php?c=Proxy&a=callback", { + "192.168.100.21", + 8321 //JsonDataMgr::Instance()->ip, //JsonDataMgr::Instance()->listen_port }));