From 684b55231257011c11caacc5ae72b0f0977c6114 Mon Sep 17 00:00:00 2001 From: chenshijun <chenshijun@aiotlink.com> Date: 星期五, 15 三月 2019 15:14:22 +0800 Subject: [PATCH] 整合代码 --- QiaoJiaSystem/DataManagerServer/HttpSrvRetRecieve.hpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/DataManagerServer/HttpSrvRetRecieve.hpp b/QiaoJiaSystem/DataManagerServer/HttpSrvRetRecieve.hpp index cbff042..da91454 100644 --- a/QiaoJiaSystem/DataManagerServer/HttpSrvRetRecieve.hpp +++ b/QiaoJiaSystem/DataManagerServer/HttpSrvRetRecieve.hpp @@ -43,7 +43,11 @@ std::string strInfo = request->path; auto func = m_map_TASKFUNC[strInfo]; if(func != nullptr){ - std::string strRet = func(request->remote_endpoint_address(),request->remote_endpoint_port(),request->content.string(),response); + std::cout << "url "<< strInfo << std::endl; + std::string content = request->content.string(); + std::cout << "content " << content << std::endl; + std::string strRet = func(request->remote_endpoint_address(),request->remote_endpoint_port(),content,response); + std::cout << "strRet " << strRet << std::endl; if(strRet.size() > 0){ DBG("strRet.size() > 0"); response->write(strRet); -- Gitblit v1.8.0