From bc1ec1ca727d5cfacfac82a7d52a1a533f1cc437 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 5 May 2022 23:28:43 +0800 Subject: [PATCH] 1 --- server/gameserver/httpproxy.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/gameserver/httpproxy.cc b/server/gameserver/httpproxy.cc index f400b43b..b121c816 100644 --- a/server/gameserver/httpproxy.cc +++ b/server/gameserver/httpproxy.cc @@ -22,7 +22,7 @@ struct HttpProxyRequest static void _ProxyCallback(f8::JsonHttpRequest* request) { - #ifdef DEBUG + #ifdef DEBUG1 a8::UdpLog::Instance()->Debug("ProxyCallbBack request:%s", { request->request.ToJsonStr() @@ -108,13 +108,13 @@ std::string HttpProxy::HttpGet(a8::XParams param, { HttpProxyRequest* req = HttpProxy::Instance()->GetRequest(param.sender.GetString()); if (req) { -#ifdef DEBUG - a8::UdpLog::Instance()->Debug("ProxyHttpGet error url:%s params:%s response:%s", - { - req->url, - req->url_params.ToJsonStr(), - response - }); +#ifdef DEBUG1 + a8::UdpLog::Instance()->Warning("ProxyHttpGet error url:%s params:%s response:%s", + { + req->url, + req->url_params.ToJsonStr(), + response + }); #endif req->on_error(req->param, response); }