From 25928e3093a7c0257128192d7785ec3f74e89e81 Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期六, 30 三月 2019 12:46:20 +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