From 00f7c180ceedecab842ce2a05308f435f9f54718 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期二, 09 四月 2019 14:24:19 +0800 Subject: [PATCH] # Type(<scope>): <subject> --- 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