This commit is contained in:
aozhiwei 2023-11-24 22:44:46 +08:00
parent 9c1d3ea5dd
commit d9b6d11700

View File

@ -10,6 +10,7 @@
#include "player.h"
#include "app.h"
#include "GGListener.h"
#include "cs_proto.pb.h"
#include "ss_proto.pb.h"
@ -101,11 +102,11 @@ void HandlerMgr::ProcGMMsg(unsigned long saddr, int sockhandle,
[sockhandle] (const a8::Args& args)
{
std::string data = args.Get<std::string>(0);
//GGListener::Instance()->SendText(sockhandle, data);
GGListener::Instance()->SendText(sockhandle, data);
});
itr->second(request);
} else {
//GGListener::Instance()->SendText(sockhandle, a8::HttpResponse("{}"));
GGListener::Instance()->SendText(sockhandle, a8::HttpResponse("{}"));
}
}