From d6496edbb01f7b24c01615b111595a08d0fb8487 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期六, 09 三月 2019 13:50:04 +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